Posts
Delete a post
Delete a post in PostSyncer and, where it was published, on the networks too.
DELETE
Delete a post
Needs
posts:delete. See Permissions.500: the post stays in PostSyncer, and the accounts handled before the refusal are already removed from it. Test safely has the table.
To stop a post without deleting it, update it with schedule_type: draft.
When one API key or agent deletes 10 or more scheduled posts, or takes them off the schedule, within an hour, the workspace owner and managers get an email and a posts.bulk_removed webhook is sent. Deleted posts are gone and can’t be put back: the email only says how many were deleted. Only the posts taken off the schedule can be put back, with the email’s link. A deleted post also sends post.deleted.
Errors
Related
- Update a post: take it off the schedule instead.
- Post events:
post.deleted.
Authorizations
Response
The post was deleted.
An error answer. Every one has message, in plain words; some add an error code and fields of their own.
A code a few errors add, such as rate_limited. See Handle errors.