| Field | Type | Required | Description | Example |
|---|---|---|---|---|
principal_type |
models.PrincipalTypeEnum | ✔️ | The type of principal. | user |
principal_id |
str | ✔️ | The unique identifier of the principal. | 1234abc |
scope_id |
OptionalNullable[str] | ➖ | The ID of a specific product environment where the role is applied. This parameter is only relevant if scope_type is "prodenv". |
975l29lz02jt0836fhwi |
policy_parameters |
Optional[models.UpdateRolePrincipalPolicyParameters] | ➖ | For roles with permission_type set to content, provide the ID of the specific folder or collection you want the role to apply to, for example, {"folder_id":"asdfjkl12347890"}. This specification is passed to the policy_statement, written in Cedar language. |
{ "folder_id": "asdfjkl12347890" } |