Hanzo
OpenapiIam

Changes who is in a role, or which roles it includes.

Changes who is in a role, or which roles it includes. Access changes for everyone in it as soon as the write lands.

POST /v1/iam/roles/update

Addresshttps://api.hanzo.ai/v1/iam/roles/update
MethodPOST
Operationpost_iam_roles_update
AuthAuthorization: Bearer $HANZO_API_KEY

Changes who is in a role, or which roles it includes. Access changes for everyone in it as soon as the write lands. What the role is called does not change, and neither does when it was created.

Request

10 fields, body application/json (required).

FieldInTypeRequiredDescription
createdTimebodystring
descriptionbodystring
displayNamebodystring
domainsbodystring[]
groupsbodystring[]
isEnabledbodyboolean
namebodystring
ownerbodystring
rolesbodystring[]
usersbodystring[]

Response

StatusBodyMeaning
200iam.Roleok

200 body — 14 fields.

FieldInTypeAlwaysDescription
createdAtbodystring (date-time)
createdTimebodystring
deletedbodyboolean
descriptionbodystring
displayNamebodystring
domainsbodystring[]
groupsbodystring[]
idbodystring
isEnabledbodyboolean
namebodystring
ownerbodystring
rolesbodystring[]
updatedAtbodystring (date-time)
usersbodystring[]

Failure carries the platform error shape — see Errors.

Examples

hanzo iam roles update

IAM API · All Hanzo APIs · Interactive reference

How is this guide?

On this page