Web API Core | ComponentOne
C1.Web.Api.Storage Namespace / StorageController Class / DeleteFile Method
The path.
The file name

In This Topic
    DeleteFile Method
    In This Topic
    Deletes the file with the specified path.
    Syntax
    'Declaration
     
    
    <HttpDeleteAttribute()>
    <RouteAttribute("api/storage/{*path}")>
    Public Function DeleteFile( _
       ByVal path As String, _
       Optional ByVal subpath As String _
    ) As IActionResult
    [HttpDelete()]
    [Route("api/storage/{*path}")]
    public IActionResult DeleteFile( 
       string path,
       string subpath
    )

    Parameters

    path
    The path.
    subpath
    The file name

    Return Value

    The result.
    See Also