Folders

Get a folder by its identifier

PUT
/v1_1/{cloud_name}/folders/by_id

Returns the details of the folder with the specified identifier, including its ancestors.

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.

Request Body

application/json

The identifier of the folder to retrieve.

The identifier of the folder to retrieve.

id*string

The immutable identifier of the folder to retrieve.

Response Body

application/json

application/json

application/json

application/json

curl -X PUT "https://example.com/v1_1/my_cloud/folders/by_id" \  -H "Content-Type: application/json" \  -d '{    "id": "string"  }'
{  "name": "string",  "path": "string",  "external_id": "string",  "created_at": "2019-08-24T14:15:22Z",  "resource_count": 0,  "total_bytes": 0,  "last_uploaded_at": 0,  "ancestors": [    {      "name": "string",      "path": "string",      "external_id": "string",      "created_at": "2019-08-24T14:15:22Z"    }  ]}