Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 9.69 KB

File metadata and controls

11 lines (8 loc) · 9.69 KB

GetRolesRequest

Fields

Field Type Required Description Example
scopeType Optional<ScopeTypeEnum> Specifies the level for retrieving policies or roles, either at the account level or within product environments. prodenv
permissionType PermissionTypeEnum ✔️ Specifies whether to retrieve roles whose permissions apply globally across all contexts within the scope (i.e., security settings for the account, or all folders in a product environment), or specifically to designated content instances (i.e., folder with external ID "fg3841spr"). global
managementType Optional<ManagementTypeEnum> Specifies whether the role's policies are managed by Cloudinary (system) or by the user (custom). system
policyParameters List<String> For roles with permission_type set to content, this defines the type of content the role's policies apply to:
- The content type can be: folder_id or collection_id.
- When assigning the role, provide the instance, e.g. {"folder_id":"asdfjkl12347890"}. This specification is passed to the policy_statement (Cedar).