cURL
curl --request DELETE \ --url https://api.x.com/2/activity/subscriptions/{subscription_id} \ --header 'Authorization: Bearer <token>'
{ "data": { "deleted": true }, "errors": [ { "title": "<string>", "type": "<string>", "detail": "<string>", "status": 123 } ], "meta": { "total_subscriptions": 123 } }
Deletes a subscription for an X activity event
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the subscription to delete. The unique identifier of this subscription.
"1146654567674912769"
The request has succeeded.
Show child attributes
1
Number of active subscriptions remaining.