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. writeAuth methods:
OAuthPrivate IntegrationToken type:
Sub-Account TokenRequest
Headers
Versionstringrequired
API Version
Available options
v3Example:
v3Path Parameters
locationIdstringrequired
Location ID (also known as Sub-Account ID) for the business location.
Example:
ve9EPM428h8vShlRW1KTBody
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:
truestatusCodenumberrequired
Status Code
Example:
201messagestringrequired
Message
Example:
Posts Deleted Successfullyresultsobjectrequired
Message and deleted count