Skip to main content

Endpoint

Overview

Delete one or more posts from your organization. This endpoint handles both scheduled posts and published posts:
  • Unpublished posts (scheduled, pending, failed, retrying) are deleted immediately from the database
  • Published posts (complete) trigger a deletion flow that removes the post from the social media platform (TikTok/Instagram) and then marks it as deleted
Published Post Deletion:When deleting a complete post, the API will:
  1. Trigger a GeeLark automation to delete the post from the social media platform
  2. Set the post status to deleting while the deletion is in progress
  3. Automatically update to deleted once the platform deletion completes
You can check the status using the Get Post Status endpoint.

Request Body

string[]
required
Array of post IDs to deleteAll posts must belong to your organization. Posts can be in any status.

Response

object
Deletion result information

Error Cases

  • 404 Not Found: Some posts don’t exist or don’t belong to your organization
  • 400 Bad Request: No post IDs provided
  • Partial errors: Some posts may fail to delete while others succeed (returned in errors array)

Best Practices

Deleting published posts:When you delete a post that has already been published (complete status), the API triggers an automation to remove it from the social media platform. The post status changes to deleting and then to deleted once the platform deletion completes. Use the Get Post Status endpoint to monitor the deletion progress.
1

Delete posts

Call the delete endpoint with the post IDs you want to remove
2

Check response

The response tells you which posts were deleted immediately vs. queued for platform deletion
3

Monitor status (for published posts)

For posts being deleted from the platform, monitor their status until it changes to deleted

Example: Bulk Delete with Status Monitoring