Cloudinary System Policies API

View all system policies predefined by Cloudinary, which can be associated with roles.

GitHub OpenAPI

Operations 1

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /v2/accounts/{account_id}/permissions/policies/system List system permission policies · Get system policies #
Ask an LLM
“What system-level permission policies are defined for my account?”
“Can I filter system policies by scope type or permission type?”
Tell an agent
List system policies for account {account_id}.
Show {permission_type} system policies for account {account_id} scoped to {scope_type}.

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/cloudinary:cloudinary-system-policies-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

cloudinary-system-policies-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cloudinary System Policies API
  contact:
    name: Cloudinary Support
    email: support@cloudinary.com
    url: https://support.cloudinary.com
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
  termsOfService: https://cloudinary.com/tou
  x-refined-note:
  - x-cld-module-context differs across the merged source definitions and was not carried
  - x-cld-module-name differs across the merged source definitions and was not carried
  version: '1.0'
  description: 'Operations tagged System Policies across 3 of this provider''s published API definitions: cloudinary-provisioning-schema.yml, cloudinary-permissions-openapi.yml, cloudinary-provisioning-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://{region}.cloudinary.com
  description: Regional API endpoints for optimal performance.
  variables:
    region:
      default: api
      description: Regional endpoint selection
      enum:
      - api
      - api-eu
      - api-ap
- url: https://{host}
  description: Custom domains for enterprise deployments.
  variables:
    host:
      default: api.cloudinary.com
      description: API host domain.
security:
- basicAuth: []
tags:
- name: System Policies
  description: View all system policies predefined by Cloudinary, which can be associated with roles.
paths:
  /v2/accounts/{account_id}/permissions/policies/system:
    parameters:
    - $ref: '#/components/parameters/AccountIdParam'
    get:
      x-speakeasy-group: policies.system
      x-speakeasy-name-override: list
      x-speakeasy-mcp:
        name: list-system-policies
        scopes:
        - admin
        title: List System Policies
        readOnlyHint: true
        idempotentHint: true
      summary: Get system policies
      description: 'Retrieve all system-defined permission policies. Optionally filter the results by `scope_type` (account or product environment) and/or `permission_type` (global or content-specific).


        **Note:** If `scope_type` isn''t specified as `prodenv`, the account-level policies will be returned.'
      operationId: getSystemPolicies
      tags:
      - System Policies
      parameters:
      - $ref: '#/components/parameters/PermissionTypeOptionalParam'
      - $ref: '#/components/parameters/ScopeTypeParam'
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SystemPoliciesResponse'
              examples:
                SystemPoliciesExample:
                  $ref: '#/components/examples/SystemPoliciesExample'
        '401':
          description: Authorization required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PermissionsErrorResponse'
              examples:
                AuthorizationErrorExample:
                  $ref: '#/components/examples/AuthorizationErrorExample'
        '403':
          description: Not allowed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PermissionsErrorResponse'
              examples:
                ForbiddenErrorExample:
                  $ref: '#/components/examples/ForbiddenErrorExample'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PermissionsErrorResponse'
              examples:
                InternalServerErrorExample:
                  $ref: '#/components/examples/InternalServerErrorExample'
    servers:
    - url: https://{region}.cloudinary.com
      description: Regional API endpoints for optimal performance.
      variables:
        region:
          default: api
          description: Regional endpoint selection
          enum:
          - api
          - api-eu
          - api-ap
    - url: https://{host}
      description: Custom domains for enterprise deployments.
      variables:
        host:
          default: api.cloudinary.com
          description: API host domain.
components:
  parameters:
    PermissionTypeOptionalParam:
      name: permission_type
      description: 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").
      in: query
      required: false
      schema:
        $ref: '#/components/schemas/PermissionTypeEnum'
    ScopeTypeParam:
      name: scope_type
      description: Specifies the level for retrieving policies or roles, either at the account level or within product environments.
      in: query
      required: false
      schema:
        $ref: '#/components/schemas/ScopeTypeEnum'
    AccountIdParam:
      name: account_id
      description: Account ID
      in: path
      required: true
      schema:
        type: string
      x-speakeasy-globals-hidden: true
  schemas:
    PermissionTypeEnum:
      type: string
      description: Specifies whether permissions apply globally or to specific content.
      enum:
      - global
      - content
      example: global
    PermissionsError:
      type: object
      properties:
        category:
          type: string
          description: A classification of the error, indicating the general area or type of problem.
        code:
          type: string
          description: A specific error code that uniquely identifies the error condition.
        message:
          type: string
          description: A human-readable message providing a brief explanation of the error and its cause.
        details:
          type: object
          description: Additional contextual information about the error, which may include relevant data.
    PermissionsErrorResponse:
      properties:
        error:
          $ref: '#/components/schemas/PermissionsError'
    ScopeTypeEnum:
      type: string
      description: Specifies where the role/policy is applied, either at the account level or within product environments.
      enum:
      - account
      - prodenv
      example: prodenv
    SystemPoliciesResponse:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/SystemPolicyResponseData'
          description: An array of system policies.
        next_cursor:
          type: string
          description: When a request has more results to return, the next_cursor value is returned as part of the response. You can then specify this value as the cursor parameter of a following request.
    SystemPolicyResponseData:
      type: object
      required:
      - id
      - policy_statement
      - created_at
      - updated_at
      - scope_type
      - name
      properties:
        id:
          description: The unique identifier of the policy.
          type: string
          example: 12jf789l12hwiuencl7aaqey
        name:
          description: The name of the policy
          type: string
          example: Read access to Clothing folder
        description:
          description: A short description of the policy.
          type:
          - string
          - 'null'
          example: Permit read access to the Clothing folder with external ID asdfjkl12347890.
        scope_type:
          $ref: '#/components/schemas/ScopeTypeEnum'
        permission_type:
          description: "Specifies whether the permission applies globally across all resources or 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\").\n\n    - global\n\n    - content\n"
          type: string
          example: global
        policy_statement:
          description: A Cedar policy that permits or forbids a certain action on a certain element to a principal (user, group, or API key).
          type: string
          example: permit(principal == Cloudinary::APIKey::"1234",action==Cloudinary::Action::"read",resource is Cloudinary::Folder ) when { resource.ancestor_ids.contains("\<folder_id\>") };
        policy_parameters:
          description: '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).

            '
          type: array
          items:
            type: string
          example:
          - folder_id
        category:
          description: The category of the policy.
          type: string
          example: Management
        sub_category:
          description: The sub-category of the policy.
          type: string
          example: General operations
        created_at:
          description: Creation time of the policy in epoch time.
          type: integer
          format: int64
          example: 1719475216
        updated_at:
          description: Last update time of the policy in epoch time.
          type: integer
          format: int64
          example: 1719475216
    Error:
      type: object
      properties:
        category:
          type: string
          description: A classification of the error, indicating the general area or type of problem.
        code:
          type: string
          description: A specific error code that uniquely identifies the error condition.
        message:
          type: string
          description: A human-readable message providing a brief explanation of the error and its cause.
        details:
          type: object
          description: Additional contextual information about the error, which may include relevant data.
    ErrorResponse:
      properties:
        error:
          $ref: '#/components/schemas/Error'
  examples:
    AuthorizationErrorExample:
      summary: Authorization required
      value:
        error:
          category: user_error
          code: ACCOUNTS_00006
          message: invalid credentials
    SystemPoliciesExample:
      summary: Get system policies example
      value:
        data:
        - id: cld::policy::global::assets::moderate
          name: Moderate all assets
          description: Approve and reject all assets in moderation. To perform these actions from the Moderation page, pair this permission with 'Access the Moderation page'. To view assets on the page, pair it with the 'View all folders and assets' global permission.
          scope_type: prodenv
          permission_type: global
          policy_statement: permit(principal, action == Cloudinary::Action::"moderate", resource is Cloudinary::Asset);
          created_at: 1719475216
          updated_at: 1719475216
        - id: cld::policy::content::folder::view_download
          name: View all assets
          description: View all assets in the folder and its nested subfolders.
          scope_type: prodenv
          permission_type: content
          policy_statement: 'permit(principal, action == Cloudinary::Action::"read", resource is Cloudinary::Folder) when { resource.ancestor_ids.contains("<folder_id>") };

            permit(principal, action == Cloudinary::Action::"read", resource is Cloudinary::Asset) when { resource.ancestor_ids.contains("<folder_id>") };

            '
          policy_parameters:
          - folder_id
          created_at: 1719475216
          updated_at: 1719475216
        next_cursor: '3'
    ForbiddenErrorExample:
      summary: Not allowed
      value:
        error:
          category: user_error
          code: ACCOUNTS_00006
          message: not allowed
    InternalServerErrorExample:
      summary: Internal server error
      value:
        error:
          category: server_error
          code: ACCOUNTS_00001
          message: something went wrong
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
x-refined-from:
- cloudinary-provisioning-schema.yml
- cloudinary-permissions-openapi.yml
- cloudinary-provisioning-openapi.yml