Metadata Fields

Removes one or more allowed values from a metadata field's datasource

DELETE
/v1_1/{cloud_name}/metadata_fields/{external_id}/datasource

Removes specific values from a metadata field's datasource by their external IDs.

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 update the datasource for.

Request Body

application/json

The datasource entry external IDs to delete.

external_ids*array<string>

The external IDs of the datasource values.

Response Body

application/json

application/json

application/json

application/json

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