Delete a message sent by an agent

View as Markdown

Delete a message sent by an agent. Only messages of type agent can be deleted.

Authentication

api-keystring

The API key should be passed in the request headers as api-key for authentication.

OR
AuthorizationBearer

OAuth 2.0 client_credentials (machine-to-machine) grant. Exchange your app’s client_id/client_secret for a short-lived Bearer token.

Path parameters

idstringRequired
ID of the message

Response

The message was deleted from the conversation.

Errors

400
Bad Request Error
404
Not Found Error