Delete a post
Method: DELETE
URL: https://example.com/<MIXPOST_CORE_PATH>/api/<workspaceUuid>/posts/{postUuid}
Authorization: Bearer <token>
Body:
{
"trash": false
}
Key | Format | Required | Description |
---|---|---|---|
trash | boolean | Set true to move the item to trash; set false to delete it permanently. Default: false . |
Response:
- 200
- 401
- 403
- 404
Permanently deleted:
{
"deleted": true
}
Moved to trash:
{
"to_trash": true
}
{
"message": "Unauthenticated."
}
{
"message": "Access forbidden."
}
{
"message": "Workspace not found."
}