Hanzo
OpenapiIam

Removes a role.

Removes a role.

POST /v1/iam/roles/delete

Addresshttps://api.hanzo.ai/v1/iam/roles/delete
MethodPOST
Operationpost_iam_roles_delete
AuthAuthorization: Bearer $HANZO_API_KEY

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

Request

2 fields, body application/json (required).

FieldInTypeRequiredDescription
namebodystring
ownerbodystring

Response

StatusBodyMeaning
200iam.roles.DeleteOutputok

200 body — 1 field.

FieldInTypeAlwaysDescription
deletedbodyboolean

Failure carries the platform error shape — see Errors.

Examples

hanzo iam roles delete

IAM API · All Hanzo APIs · Interactive reference

How is this guide?

On this page