Skip to main content
DELETE
/
api
/
v1
/
post-history-import
/
posts
Bulk delete imported posts and their analytics
curl --request DELETE \
  --url https://api.bundle.social/api/v1/post-history-import/posts \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "teamId": "<string>",
  "postIds": [
    "<string>"
  ]
}
'
{
  "deletedCount": 123
}

Authorizations

x-api-key
string
header
required

Body

application/json

Body

teamId
string
required
postIds
string[]
required
Required array length: 1 - 100 elements

Response

200

deletedCount
number
required