cURL
curl --request DELETE \ --url https://api.twitter.com/2/dm_events/{event_id} \ --header 'Authorization: Bearer <token>'
{ "data": { "deleted": true }, "errors": [ { "detail": "<string>", "status": 123, "title": "<string>", "type": "<string>" } ] }
Delete a Dm Event that you own.
The access token received from the authorization server in the OAuth 2.0 flow.
The ID of the direct-message event to delete.
"1146654567674912769"
The request has succeeded.
The response is of type object.
object