DELETE direct_messages/events/destroy

Deletes the direct message specified in the required ID parameter. The authenticating user must be the recipient of the specified direct message. Direct Messages are only removed from the interface of the user context provided. Other members of the conversation can still access the Direct Messages. A successful delete will return a 204 http response code with no body content.

Important: This method requires an access token with RWD (read, write & direct message) permissions.

Resource URL

https://api.twitter.com/1.1/direct_messages/events/destroy.json

Resource Information

Response formats 204 - No Content
Requires authentication? Yes (user context only)
Rate limited? Yes

Parameters

id (required) The id of the Direct Message event that should be deleted.

Example request using Twurl

twurl -X DELETE "/1.1/direct_messages/events/destroy.json?id=938178981337088004"
Was this document helpful?
Thank you

Thank you for the feedback. We’re really glad we could help!

Thank you for the feedback. How could we improve this document?
Thank you for the feedback. Your comments will help us improve our documents in the future.