Skip to main content

Delete multiple post

Method: DELETE

URL: https://example.com/<MIXPOST_CORE_PATH>/api/<workspaceUuid>/posts

Authorization: Bearer <token>

Body:

{
"posts": ['8eb4e98d-2b93-44bd-a664-7a6438eff67b', 'b1b06706-ef95-42b7-8ac8-d648dc9a9d65'],
"trash": false
}
KeyFormatRequiredDescription
postsarrayrequiredArray of posts Uuids
posts.*stringrequiredPost Uuid
trashbooleanSet true to move the item to trash; set false to delete it permanently. Default: false.

Response:

Permanently deleted:

{
"deleted": true
}

Moved to trash:

{
"to_trash": true
}