Hanzo AI
OpenapiIam

Delete teams

Removes a team.

DELETE /v1/iam/teams/{name}

Addresshttps://api.hanzo.ai/v1/iam/teams/{name}
MethodDELETE
Operationdelete_iam_teams_by_name
AuthAuthorization: Bearer $HANZO_API_KEY

Removes a team. Everyone in it loses the access it carried; their accounts, and any other team they are in, are untouched.

Request

1 field.

FieldInTypeRequiredDescription
namepathstringyes

Response

StatusBodyMeaning
200iam.teams.DeleteOutputok
202Approvalheld for approval
defaultproblem-detailsrefused

200 body — 1 field.

FieldInTypeAlwaysDescription
deletedbodyboolean

Failure carries the platform error shape — see Errors.

Examples

hanzo iam teams rm <name>

IAM API · All Hanzo APIs · Interactive reference

How is this guide?

On this page