Cloudinary · Schema
CreateRole
Asset ManagementDigital Asset ManagementImage ProcessingImage TransformationMediaSoftware-as-a-ServiceVideo Processing
Properties
| Name | Type | Description |
|---|---|---|
| id | string | 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. |
| permission_type | string | 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 |
| scope_type | object | |
| name | string | The name of the role. |
| description | stringnull | A short description of the role. |
| system_policy_ids | array | 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](#tag/policies/get/policies) method. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/cloudinary/json-schema/cloudinary-create-role-schema.json",
"title": "CreateRole",
"x-generated": "2026-11-17",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/cloudinary-provisioning-openapi.yml#/components/schemas/CreateRole",
"allOf": [
{
"type": "object",
"required": [
"permission_type",
"scope_type"
],
"properties": {
"id": {
"description": "The unique identifier for the role.\n\n* **When creating a new role**: If not provided, the system will auto-generate the ID.\n* **When updating a role**: Specify the ID of the role you want to update.\n",
"type": "string"
},
"permission_type": {
"description": "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.\n- global\n- content\n",
"type": "string"
},
"scope_type": {
"$ref": "#/$defs/ScopeTypeEnum"
}
}
},
{
"$ref": "#/$defs/Role"
}
],
"$defs": {
"Role": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"description": "The name of the role.",
"type": "string"
},
"description": {
"description": "A short description of the role.",
"type": [
"string",
"null"
]
},
"system_policy_ids": {
"description": "A list of system permission policy IDs to be included in the role.\n\n**Tip:** Get the list of all available predefined policies using the [Get system policies](#tag/policies/get/policies) method.\n",
"type": "array",
"items": {
"type": "string"
}
}
}
},
"ScopeTypeEnum": {
"type": "string",
"description": "Specifies where the role/policy is applied, either at the account level or within product environments.",
"enum": [
"account",
"prodenv"
]
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/cloudinary-create-role"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.