Delete File¶
Delete the file.
Request Format¶
GET http://{apigw-address}/dfs-api/v1.0/delete/file
Request Parameters (URI)¶
| Name | Location (Path/Query) | Required or not | Data type | Description | 
|---|---|---|---|---|
| tenant | Query | True | String | Tenant name | 
| filePath | Query | True | String | Target file path | 
| fileName | Query | True | String | Target file name, including its extension | 
| loginTenant | Query | True | String | Currently logged-in tennant | 
Response Parameters¶
| Name | Data type | Description | 
|---|---|---|
| status | Int | Status code | 
| msg | String | Response message | 
| submsg | String | Response sub-message | 
| data | Null | Response data | 
Sample¶
Request sample¶
GET http://{apigw-address}/dfs-api/v1.0/download?tenant=EDGE&filePath=/path/&fileName=sample.txt&loginTenant=EDGE
Return sample¶
{
   "status":0,
   "msg":"success",
   "submsg":"",
   "data":null
}