Hanzo
OpenapiIam

Revokes a permission.

Revokes a permission.

POST /v1/iam/permissions/delete

Addresshttps://api.hanzo.ai/v1/iam/permissions/delete
MethodPOST
Operationpost_iam_permissions_delete
AuthAuthorization: Bearer $HANZO_API_KEY

Revokes a permission. Everyone who held access only through it loses that access immediately; grants they hold by another route are untouched.

Request

2 fields, body application/json (required).

FieldInTypeRequiredDescription
namebodystring
ownerbodystring

Response

StatusBodyMeaning
200iam.permission.DeleteResponseok

200 body — 1 field.

FieldInTypeAlwaysDescription
deletedbodyboolean

Failure carries the platform error shape — see Errors.

Examples

hanzo iam permissions delete

IAM API · All Hanzo APIs · Interactive reference

How is this guide?

On this page