Delete a message

Deletes an existing message by clearing it: the message is left in place, but its attachments are discarded and its body is replaced with a deleted marker, so clients can indicate that a message used to exist at this position. The deleted message is returned in full, exactly as a subsequent GET of it would with a deleted body and no files.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Globally unique identifier for a chat; a c- prefixed string.

string
required

Identifies a message within its enclosing chat; an m- prefixed string. Only meaningful in combination with a chat id.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json