This endpoint requires admin authentication. Include a valid JWT token in the Authorization header:
Bearer <token>Path Parameters
The unique identifier of the content to delete
Request Headers
Bearer token for admin authentication
Response
Success message
Error Responses
404 Not Found
401 Unauthorized
Returned when authentication token is missing or invalid.403 Forbidden
Returned when the authenticated user is not an admin.500 Internal Server Error
The endpoint automatically handles different resource types based on content type:
- PDF files are deleted as ‘image’ resource type
- Video and audio files are deleted as ‘video’ resource type
- Thumbnails are always deleted as ‘image’ resource type