Skip to main content
POST
Delete one of this session agent's own channel messages

Body

application/json
sessionOrMessage
string
required

Session name/key, or message id when running inside a session

execute
boolean

Actually delete the message; default is a dry-run that only shows the plan (exit 3)

messageRef
string

Canonical or provider message id

Response

Success — body conforms to the @Returns schema.

{key}
any