/posts/{post_id}/retract
Removes the published copy from the channel and marks the post deleted. The ProductByte record stays, so the post keeps its history and analytics — use DELETE to forget the record instead.
Only a published post can be retracted, and only on channels that support deletion. Instagram and TikTok do not: they answer API_CHANNEL_RETRACT_UNSUPPORTED and the post must be removed in the provider's own app.
The channel is called synchronously. A 200 means the provider confirmed the removal; if it refuses, the post stays published and nothing is changed here.
Requires the posts:write scope.
Request
- Base URL: https://api.productbyte.com/v1
- URL: https://api.productbyte.com/v1/projects/{project_id}/posts/{post_id}/retract
- Auth: HTTP bearer
Path parameters
The project the post belongs to.
The published post to retract.
Response
The retracted post, now deleted.
Changes
No recorded changes to this operation across all 2 revisions of this API.