Skip to main content
PostVersion: v3

Bulk Delete Social Planner Posts

POST/social-media-posting/{locationId}/posts/bulk-delete

Deletes multiple posts based on the provided list of post IDs. This operation is useful for clearing up large numbers of posts efficiently.

Note:

1.The maximum number of posts that can be deleted in a single request is '50'.

2.However, It will only get deleted in the platform database but still it is recommended to be cautious of this operation.

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your access token.

Scope:socialplanner/post.write
Auth methods:OAuthPrivate Integration
Token type:Sub-Account Token

Request​

Headers

Versionstringrequired

API Version

Available optionsv3
Example:v3

Path Parameters

locationIdstringrequired

Location ID (also known as Sub-Account ID) for the business location.

Example:ve9EPM428h8vShlRW1KT

Body

postIdsstring[]

Post identifiers to delete. Each is either a 24-char post id or a 40-char native post id.

Example:["662791ee3f216822d7da0c8c"]

Response

Posts deleted successfully

successbooleanrequired

Success or Failure

Example:true
statusCodenumberrequired

Status Code

Example:201
messagestringrequired

Message

Example:Posts Deleted Successfully
resultsobjectrequired

Message and deleted count