ZiamBindUserRole
Binds a global ZIAM role to a user by creating a RoleBinding resource. The operation is idempotent; repeated calls return changed=false. project-admin is a global user role and is valid here for every Project; ProjectID only selects the current resource scope. project-owner remains Project-scoped and must use ProjectMembership.
PUT
/api/v1/ziam/users/{userUuid}/roles/{roleKey}Operation ID
ZiamBindUserRoleSince
1.0.0Execution Mode
SynchronousAuth Context
Auth RequiredAuth Context
Send these values as request headers when calling this API.
AuthorizationstringRequiredBearer Token
X-Tenant-IDstringX-Tenant-ID
Request Inputs
application/jsonBody Fields
roleUuidStringOptional role uuid. roleKey in the path is always required and is the stable binding key.
Example: 66666666666666666666666666666666
enabledBooleanWhether the binding is enabled. Defaults to true.
Example: true
Responses
200 OKChange History
View all change historyChange TimeChange SummaryAction
Change Time
DeletedRequest body fields scopeType, scopeUuidAddedResponse fields roleKeysDeletedResponse fields scopeType, scopeUuidView API
