Hanzo
OpenapiFramework

Removes one (user, role) grant in the caller's org.

Removes one (user, role) grant in the caller's org.

DELETE /v1/framework/roles/{user}/{role}

Addresshttps://api.hanzo.ai/v1/framework/roles/{user}/{role}
MethodDELETE
Operationdelete_framework_roles_by_user_by_role
AuthAuthorization: Bearer $HANZO_API_KEY

Removes one (user, role) grant in the caller's org. Manager-only. Answers 204; a grant that does not exist is not found.

Request

2 fields.

FieldInTypeRequiredDescription
userpathstringyesUser is the assignee whose grant is being revoked, from the path.
rolepathstringyesRole is the role to revoke, from the path.

Response

StatusBodyMeaning
204no content

Failure carries the platform error shape — see Errors.

Examples

hanzo framework roles user rm <user> <role>

Framework API · All Hanzo APIs · Interactive reference

How is this guide?

On this page