Permanently delete a file from storage.
Deletion is permanent and cannot be undone. The file will be removed from storage immediately.
Path Parameters
The file ID. Example: f_abc123xyz
Response
Always true on successful deletion.
Example
curl -X DELETE https://api.stashfyle.com/v1/files/f_abc123xyz \
-H "Authorization: Bearer sk_live_xxx"
Errors
| Code | Status | Description |
|---|
unauthorized | 401 | Invalid or missing API key |
not_found | 404 | File not found or already deleted |