Cloudinary Principals API

View roles associated with a specified principal, and add or remove a role associated with a principal.

GitHub OpenAPI

Operations 4

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/principal_roles List roles assigned to a principal · Get a principal's roles #
Ask an LLM
“Which roles are assigned to a particular user or API key?”
“Can I see the roles a principal holds at a folder or collection level?”
Tell an agent
List roles for {principal_type} {principal_id} in account {account_id}.
Show {principal_type} {principal_id}'s roles scoped to folder {folder_id} in account {account_id}.
PUT /v2/accounts/{account_id}/permissions/principal_roles Assign or remove roles from a principal · Assign roles to a principal #
Ask an LLM
“How do I give a user a new role in my account?”
“Can I take a role away from an API key?”
Tell an agent
Assign roles {roles} to {principal_type} {principal_id} in account {account_id}.
Remove roles {roles} from {principal_type} {principal_id} in account {account_id}.
GET /v2/accounts/{account_id}/permissions/principal_roles/inspect List principals and their roles in a scope · Inspect #
Ask an LLM
“Who has roles applied to a specific folder or collection?”
“Which principals hold roles at the account level?”
Tell an agent
List principals and their roles in account {account_id} at scope {scope_type}.
Show principals with roles on folder {folder_id} in account {account_id}, scope {scope_type}.
POST /v2/accounts/{account_id}/permissions/principal_roles/inspect Check role assignments for a list of principals · Inspect multiple #
Ask an LLM
“Can I check the roles of several principals in one request?”
“What roles do these specific principals hold in a product environment?”
Tell an agent
Check role assignments for principals {principals} in account {account_id} at scope {scope_type}.
Evaluate principals {principals} in account {account_id} at scope {scope_type} with policy parameters {policy_parameters}.

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-principals-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-principals-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cloudinary Principals 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 Principals 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:


# --- truncated at 32 KB (36 KB total) ---
# Full source: https://artifacts.apis.io/cloudinary/openapi/cloudinary-principals-api-openapi.yml