Destroys the direct message specified in the required ID parameter. The authenticating user must be the recipient of the specified direct message.Important: This method requires an access token with RWD (read, write and direct message) permissions. Consult The Application Permission Model for more information.
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST 'https://api.twitter.com/1.1/direct_messages/destroy.json'