Folders

Renames or moves an entire folder (along with all assets it contains) to a new location

PUT
/v1_1/{cloud_name}/folders/{folder}

Renames or moves an entire folder (along with all assets it contains) to a new location within your Cloudinary media library.

Authorization

AuthorizationBasic <token>

Basic authentication using Cloudinary API Key and API Secret.

In: header

Path Parameters

cloud_name*string

The cloud name of your product environment.

folder*string

The full path of the folder, including any nested folders. Must not be empty, and must not contain double slashes or leading/trailing slashes.

Match^(?!.*//)[^/].+(?<!/)$

Request Body

application/json

The new folder path.

The folder move/rename request.

to_folder*string

The new path for the folder.

Response Body

application/json

application/json

application/json

curl -X PUT "https://example.com/v1_1/my_cloud/folders/product/test" \  -H "Content-Type: application/json" \  -d '{    "to_folder": "string"  }'
{  "from": {    "name": "string",    "path": "string"  },  "to": {    "name": "string",    "path": "string"  }}