Hanzo AI

Delete members

Takes one person out of a room — the caller leaving, when the account is their own.

DELETE /v1/team/rooms/{id}/members/{account}

Addresshttps://api.hanzo.ai/v1/team/rooms/{id}/members/{account}
MethodDELETE
Operationdelete_team_rooms_by_id_members_by_account
AuthAuthorization: Bearer $HANZO_API_KEY

Takes one person out of a room — the caller leaving, when the account is their own. Removing somebody else takes owning the room or administering the space. Leaving a room you are not in, or removing somebody who is not there, changes nothing. A direct message cannot be left: its people are what it is. Answers 204.

Request

3 fields.

FieldInTypeRequiredDescription
idpathstringyesID is the room, from the path.
accountpathstringyesAccount is the account uuid to remove, from the path.
spacequerystring—Space is the space uuid holding the room.

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