Delete a media file
Method: DELETE
URL: https://example.com/<MIXPOST_CORE_PATH>/api/<workspaceUuid>/media
Authorization: Bearer <token>
Params:
{
"items": [1,2]
}
Key | Format | Required | Description |
---|---|---|---|
items | array | required | Array of media file IDs |
items.* | integer | required | Media File ID |
Response:
- 200
- 401
- 403
- 404
- 422
{
"success": true
}
{
"message": "Unauthenticated."
}
{
"message": "Access forbidden."
}
{
"message": "Workspace not found."
}
{
"message": "Validation errors",
"errors": {}
}