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>'
{
  "success": true
}

Documentation Index

Fetch the complete documentation index at: https://docs.social-api.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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

Path Parameters

pid
string
required

Post ID

Response

Post deleted

success
boolean
Example:

true