Get folder roles
Lists the principals (users, groups, or API keys) and their role assignments on a specific folder, including roles inherited from ancestor folders.
Basic authentication using Cloudinary API Key and API Secret.
In: header
Path Parameters
The cloud name of your product environment.
The immutable identifier of the folder, returned by the Get root folders and Get subfolders endpoints.
Query Parameters
Whether to include in the response the roles the authenticated user can assign on this folder, based on their permission level. Default: false.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1_1/my_cloud/folder_operations/invite/cd7e9d690a014c68ae8b58f08e090cb03a"{ "shared_with": [ { "type": "user", "id": "string", "folder_id": "string", "roles": [ { "id": "string", "name": "string", "description": "string", "inherited": true } ] } ], "permitted_roles": [ { "id": "string", "name": "string", "description": "string" } ]}Searches for folders in your product environment POST
Lists the folders that match the specified search expression. Limited to 2000 results. If no parameters are passed, returns the 50 most recently created folders in descending order of creation time.
Assign folder roles POST
Assigns or removes folder roles for a principal (user, group, or API key). Supports all system folder roles (see [System roles reference](https://cloudinary.com/documentation/permissions_system_roles_policies#folder_roles)). Enterprise customers can also assign custom roles by ID. Note: Assigning roles to users or groups via this endpoint requires their user or group IDs, which are available through the Provisioning API (Enterprise only). Free customers can use this endpoint to assign roles only to API keys, but can assign folder roles to users and groups through the UI.