cURL
curl --request DELETE \ --url https://api.twitter.com/2/webhooks/{webhook_id} \ --header 'Authorization: Bearer <token>'
{ "data": { "deleted": true }, "errors": [ { "detail": "<string>", "status": 123, "title": "<string>", "type": "<string>" } ] }
Deletes a webhook config.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the webhook to delete.
"1146654567674912769"
The request has succeeded.
The response is of type object.
object