Delete a file
DELETE
/container/<containerId>/file/<fileId>
Description
Delete a file.
Path parameters
Param | Description |
---|---|
containerId |
Container Id. |
fileId |
File Id. |
Query parameters
none
Body
none
Return codes
Error code | Reason |
---|---|
204 |
Success. |
401 |
Invalid or missing token. |
403 |
Insufficient permissions (required: API +ASSET_MANAGEMENT ). |
404 |
Container or file not found. |
Example
Curl request:
curl \
-X DELETE 'https://api.infrasonar.com/container/123/file/456' \
-H 'Authorization: Bearer XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'