Cut.ProDocs
Posts

Delete a post item

Removes a single pending, rendering or failed item from a post. A rendering item also aborts its render job when no other item still needs it. An item already completed is deleted from the destination network first, and only on networks that allow it. The network's refusal comes back as a 400 and nothing is removed here. An item in publishing is never removable: the media is already on its way.

If the deletion empties the parent post, the post is also removed and post_deleted: true is returned.

X-Api-Key<token>

In: header

Path Parameters

id*string
itemId*string

Response Body

application/json

application/json

application/json

DELETE
/posts/{id}/items/{itemId}
curl -X DELETE "https://example.com/posts/string/items/string"
{  "success": true,  "item_id": "string",  "post_deleted": true}