Rename or move a folder
Renames or moves the folder at the specified path, along with all the assets it contains, to a new path.
Basic authentication using Cloudinary API Key and API Secret.
In: header
Path Parameters
The cloud name of your product environment.
Request Body
application/json
The source and destination folder paths.
The source and destination folder paths.
The full path of the folder to rename or move.
The new full path for the folder.
The maximum number of assets that may be moved by the rename. Assets beyond this limit cause the rename to be rejected.
The maximum total size, in bytes, of the assets that may be moved by the rename.
The maximum number of derived assets that may be moved by the rename.
Response Body
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/v1_1/my_cloud/folder_operations/rename" \ -H "Content-Type: application/json" \ -d '{ "path": "string", "to_path": "string" }'{ "folder_deleted": true, "moved": 0, "rejected": 0, "failed": 0}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.
Get a folder by its identifier PUT
Returns the details of the folder with the specified identifier, including its ancestors.