Skip to main content
DELETE
/
brands
/
{slug}
/
tokens
/
{platform}
/
{platformUserId}
Delete a platform token
curl --request DELETE \
  --url https://app.autoposting.ai/api-proxy/brands/{slug}/tokens/{platform}/{platformUserId} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {}
}

Authorizations

Authorization
string
header
required

API key as Authorization: Bearer sk-social-...

Path Parameters

slug
string
required

Brand slug.

Example:

"acme-corp"

platform
enum<string>
required

Platform identifier.

Available options:
x,
linkedin,
instagram,
threads,
youtube
Example:

"x"

platformUserId
string
required

User/page ID on the platform.

Example:

"x_12345"

Response

Token deleted.

success
boolean
Example:

true

data
object