Hanzo
OpenapiIam

Removes an organization and everything named inside it.

Removes an organization and everything named inside it. There is no undo, and every session issued under it stops working.

POST /v1/iam/organizations/delete

Addresshttps://api.hanzo.ai/v1/iam/organizations/delete
MethodPOST
OperationdeleteOrganization
AuthAuthorization: Bearer $HANZO_API_KEY

Removes an organization and everything named inside it. There is no undo, and every session issued under it stops working.

The built-in admin organization cannot be deleted — losing it would leave the account with no way back in.

Request

2 fields, body application/json (required).

FieldInTypeRequiredDescription
namebodystring
ownerbodystring

Response

StatusBodyMeaning
200iam.DeleteOrganizationOutputok

200 body — 1 field.

FieldInTypeAlwaysDescription
affectedbodyboolean

Failure carries the platform error shape — see Errors.

Examples

hanzo iam organizations delete

IAM API · All Hanzo APIs · Interactive reference

How is this guide?

On this page