Skip to main content
DELETE
Delete Superagent message

Authorizations

Authorization
string
header
required

Personal access token, sent as Authorization: Bearer <token>. Each operation lists the permission it needs: read_only or full_access. A full-access token can call every operation. A read-only token can call only the operations that list read_only; anything else returns 403 read_only_credential_route_not_allowed.

Path Parameters

conversation_id
string
required

ID of the conversation the message is in. Get it from Create Superagent conversation or List Superagent conversations.

message_id
string
required

ID of the message to delete. Get it from messages in Get Superagent conversation.

agent_id
string
required

ID of the Superagent. It's the agent's app ID, shown in the agent's developer settings.

Response

The message is deleted.

Confirms the message is gone.

message
string
required

Always Message deleted.

Allowed value: "Message deleted"
Example:

"Message deleted"