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
principalType PrincipalTypeEnum ✔️ The type of principal. user
principalId String ✔️ The unique identifier of the principal. 1234abc
scopeId JsonNullable<String> The ID of a specific product environment where the role is applied. This parameter is only relevant if scope_type is "prodenv". 975l29lz02jt0836fhwi
policyParameters Optional<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"
}