| Field | Type | Required | Description | Example |
|---|---|---|---|---|
id |
Optional[str] | ➖ | The unique identifier for the role. * When creating a new role: If not provided, the system will auto-generate the ID. * When updating a role: Specify the ID of the role you want to update. |
upload_manager_12334565 |
permission_type |
str | ✔️ | Specifies whether the permission applies 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"). Note: This attrubute is immutable.- global - content |
global |
scope_type |
models.ScopeTypeEnum | ✔️ | Specifies where the role/policy is applied, either at the account level or within product environments. | prodenv |
name |
str | ✔️ | The name of the role. | Upload manager |
description |
OptionalNullable[str] | ➖ | A short description of the role. | Responsible for managing upload presets and uploading new assets. |
system_policy_ids |
List[str] | ➖ | A list of system permission policy IDs to be included in the role. Tip: Get the list of all available predefined policies using the Get system policies method. |
[ "cld::policy::global::upload_presets::manage", "cld::policy::global::folder_and_asset_management::create_asset" ] |