Delete a post using the post ID
Delete a post using the post ID returned from the /post endpoint. You can delete both published and scheduled posts, but there are some differences based on the social networkDocumentation Index
Fetch the complete documentation index at: https://ayrshare.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
platform:
platforms.platforms except
for Instagram and TikTok. Instagram and TikTok do not provide API support
for deleting published posts. If you need to delete a published post on
these platforms, you must do so manually using their respective mobile apps.bulk or deleteAllScheduled parameter sent.If the post is scheduled and still pending, the scheduled posts will be deleted and not sent to the networks.If the post has already been sent to the networks, the post will be deleted from the networks.id or deleteAllScheduled parameter not sent.true will delete all scheduled posts still in a pending state, i.e. posts that have not yet been published to the networks, for the User Profile.The id or bulk parameters are ignored if set to true.true, the post will mark as deleted in Ayrshare and Ayrshare will not try to delete the post at the networks.A common use case for this is when the post was manually deleted at the networks and you want to mark it as deleted in Ayrshare.Prior to marking the post as deleted, please ensure that the post was already manually deleted on the social networks.