DELETE
/api/messages/{msgId}
Deletes a specific message for everyone. Note: This is usually only possible for a short period after the message was sent.
Delete a Message
Deletes a specific message for everyone. Note: This is usually only possible for a short period after the message was sent.
Parameters
Name | Type | Required | Description |
---|---|---|---|
msgId | integer | Yes | The ID of the message to retrieve information for its returned from send-message endpoints. |
Code Examples
curl -X DELETE "https://www.wasenderapi.com/api/messages/{msgId}"
-H "Authorization: Bearer YOUR_API_KEY"
-H "Content-Type: application/json"
Response Examples
{
"success": true,
"message": "Message deleted successfully."
}