cURL
curl --request DELETE \ --url https://api.x.com/2/webhooks/{webhook_id} \ --header 'Authorization: Bearer <token>'
{ "data": { "deleted": true }, "errors": [ { "title": "<string>", "type": "<string>", "detail": "<string>", "status": 123 } ] }
Deletes an existing webhook configuration.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the webhook to delete. The unique identifier of this webhook config.
"1146654567674912769"
The request has succeeded.
Show child attributes
1