[]
        
(Showing Draft Content)

C1.Web.Api.Storage.StorageController.DeleteFile

DeleteFile Method

DeleteFile(string, string)

Deletes the file with the specified path.

Declaration
[HttpDelete]
[Route("api/storage/{*path}")]
public IActionResult DeleteFile(string path, string subpath = null)
<HttpDelete>
<Route("api/storage/{*path}")>
Public Function DeleteFile(path As String, Optional subpath As String = Nothing) As IActionResult
Parameters
Type Name Description
string path

The path.

string subpath

The file name

Returns
Type Description
IActionResult

The result.