Skip to main content
DELETE
/
posts
/
{pid}
Delete or cancel a post
curl --request DELETE \
  --url https://api.social-api.ai/v1/posts/{pid} \
  --header 'Authorization: <api-key>'
{
  "deleted": true,
  "results": [
    {
      "account_id": "acc_01HZ9X3Q4R5M6N7P8V2K0W1J",
      "message": "Operation not supported for this platform",
      "outcome": "not_supported",
      "platform": "tiktok"
    }
  ],
  "success": true
}

Authorizations

Authorization
string
header
required

Prefix your API key with "Bearer ". Example: Authorization: Bearer sapi_key_...

Path Parameters

pid
string
required

Post ID

Response

Delete result

deleted
boolean
Example:

true

results
object[]
success
boolean
Example:

true