Assign role to user
Assigns a role to the user. Provide exactly one of role_id or role_identifier; when role_identifier is used, owner_type is required to disambiguate roles that share an identifier across owner types (and must be omitted with role_id). An optional (scope_type, scope_id) pair scopes the grant; only platform roles on the org zone may carry a scope, and a zone scope must reference a different zone in the same organization.
Path parameters
Zone ID
User ID
Request body
Response
Represents a role assigned to a principal within a zone
Changes
Changed in 2 of the 23 revisions of this API.35
- ▲
the
request property's minLength was increased from0to1request-property-min-length-increased
- ▲
the
request property's minLength was increased from0to1request-property-min-length-increased
- ▲
added the pattern
^[a-z0-9]+(?:[-_][a-z0-9]+)*$to the request property/request-property-pattern-added
- ○
added the non-success response with the status
response-non-success-status-added
- ○
added the non-success response with the status
response-non-success-status-added
- ○
the
response's property pattern^[a-z0-9]+(?:[-_][a-z0-9]+)*$was added for the statusresponse-property-pattern-added
- ○
added the required property
to the response with the statusresponse-required-property-added
- ▲
- ○
endpoint added
endpoint-added
- ○