Hanzo AI

Delete messages

Removes a message, with its replies, reactions, files and the inbox notifications that point at it.

DELETE /v1/team/messages/{id}

Addresshttps://api.hanzo.ai/v1/team/messages/{id}
MethodDELETE
Operationdelete_team_messages_by_id
AuthAuthorization: Bearer $HANZO_API_KEY

Removes a message, with its replies, reactions, files and the inbox notifications that point at it. Its author may delete it, and so may an owner or admin of the space.

Each removal is a platform remove through the Team client's write path, so the message disappears from every open client live. Answers 204.

Request

2 fields.

FieldInTypeRequiredDescription
idpathstringyesID is the message, from the path.
spacequerystring—Space names the space holding it.

Response

StatusBodyMeaning
204—no content
defaultproblem-detailsrefused

Failure carries the platform error shape — see Errors.

Examples

hanzo has no subcommand for this operation — the CLI serves only what cloud's live route table confirms. Use HTTP or an SDK.


Team API · All Hanzo APIs · Interactive reference

How is this guide?

On this page