Metadata Fields

Restore datasource values

POST
/v1_1/{cloud_name}/metadata_fields/{external_id}/datasource_restore

Restores datasource values that have been deleted.

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.

external_id*string

The external ID of the metadata field to restore the datasource values for.

Request Body

application/json

The datasource entry external IDs to restore.

external_ids*array<string>

The external IDs of the datasource values.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1_1/my_cloud/metadata_fields/string/datasource_restore" \  -H "Content-Type: application/json" \  -d '{    "external_ids": [      "string"    ]  }'
{  "values": [    {      "external_id": "string",      "value": "string"    }  ]}