ComponentOne Web API Edition
DeleteFile Method

C1.Web.Api.Storage Namespace > StorageController Class : DeleteFile Method
The path.
The file name
Deletes the file with the specified path.
Syntax
'Declaration
 
<RouteAttribute("api/storage/{*path}")>
<HttpDeleteAttribute()>
Public Function DeleteFile( _
   ByVal path As String, _
   Optional ByVal subpath As String _
) As IHttpActionResult
[Route("api/storage/{*path}")]
[HttpDelete()]
public IHttpActionResult DeleteFile( 
   string path,
   string subpath
)

Parameters

path
The path.
subpath
The file name

Return Value

The result.
See Also

Reference

StorageController Class
StorageController Members