Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 7.87 KB

File metadata and controls

11 lines (8 loc) · 7.87 KB

UpdateRolePrincipal

Fields

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"
}