Delete an Asset
Permanently deletes a media file from the project library.
DELETE /api/{projectId}/files/{uuid}Parameters
| Parameter | Type | Description |
|---|---|---|
projectId | uuid | Your project UUID |
uuid | uuid | The asset UUID |
Request
curl -X DELETE https://your-domain.com/api/{projectId}/files/img-uuid-1234 \ -H "Authorization: Bearer YOUR_API_TOKEN"Response
Returns HTTP 204 No Content on success.
Status codes
| Status | Description |
|---|---|
204 | Deleted successfully |
403 | Insufficient permissions |
404 | Asset not found |