Delete a message.
Responses
-
Message deleted successfully
-
Unauthorized -- Your API key is wrong.
-
Forbidden -- The object requested is hidden for administrators only.
-
Not Found -- The specified object could not be found.
-
Too Many Requests -- You're requesting too many objects! Slow down!
-
Internal Server Error -- We had a problem with our server. Try again later.
-
Service Unavailable -- We're temporarily offline for maintenance. Please try again later.
DELETE
/requests/{requestId}/messages/{messageId}
curl \
--request DELETE 'https://api.usecollect.com/v1/requests/{requestId}/messages/{messageId}' \
--user "username:password"
Response examples (200)
{
"deleted": true
}