Delete post
Changed onDeletes a post by Post id and cancels all schedules. If the post was already published, the published copy is deleted on every network it went to as well. Networks with no delete API (TikTok, Snapchat, Whop, Twitch) and any network that refused are reported in networkDeletes rather than failing the request, so the post is always deleted in Ocoya. A post that was synced from a network rather than published by Ocoya is only removed from Ocoya.
Request
- Base URLhttps://www.app.ocoya.com/api/_public/v1
- AuthAPI key in header X-API-Key
Path parameters
Ocoya post ID.
Response
Success. Also returned, with an empty networkDeletes, for a post that does not exist.
Example response
{
"networkDeletes": [
{
"provider": "linkedin",
"providerName": "LinkedIn",
"channelId": "clh49poxf008x8kov4ncbjty9",
"status": "deleted",
"message": "TikTok has no API for deleting a published post. Delete it in the TikTok app."
}
]
}Changes
- breaking
removed the required property
//from the response with the status - info
added the required property
//to the response with the status
- breaking
- info
api operation id
deletePostwas added - info
api tag
Postsadded - info
added the media type
application/jsonfor the response with the status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
the response property
became required for the status - info
the response property
//became required for the status - info
the response property
//became required for the status - info
the response property
//became required for the status - info
the response property
//became required for the status
- info