Skip to main content
DELETE
Cancel a message

Authorizations

Authorization
string
header
required

API key with an sk_live_ or sk_test_ prefix.

Path Parameters

id
string
required

Public message ID (e.g. msg_...).

Response

The message was canceled.

id
string
required

Public message ID (e.g. msg_...).

Example:

"msg_0a1b2c3d4e5f6g7h"

status
string
required
Allowed value: "canceled"