Skip to main content
DELETE
/
2
/
activity
/
subscriptions
/
{subscription_id}
Deletes X activity subscription
curl --request DELETE \
  --url https://api.x.com/2/activity/subscriptions/{subscription_id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "deleted": true
  },
  "errors": [
    {
      "detail": "<string>",
      "status": 123,
      "title": "<string>",
      "type": "<string>"
    }
  ],
  "meta": {
    "total_subscriptions": 123
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

subscription_id
string
required

The ID of the subscription to delete.

Example:

"1146654567674912769"

Response

The request has succeeded.

data
object
errors
object[]
Minimum length: 1
meta
object
I