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.
|Response formats||204 - No Content|
|Requires authentication?||Yes (user context only)|
|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"