Metadata Fields

Change position of metadata field

PUT
/v1_1/{cloud_name}/metadata_fields/{external_id}/reorder

Changes the display position of a specific metadata field within the list.

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 reorder.

Request Body

application/json

The new position for the metadata field.

position*integer

The position of the metadata field.

Response Body

application/json

application/json

application/json

application/json

curl -X PUT "https://example.com/v1_1/my_cloud/metadata_fields/string/reorder" \  -H "Content-Type: application/json" \  -d '{    "position": 0  }'
{  "metadata_fields": [    {      "type": "string",      "external_id": "string",      "label": "string",      "mandatory": true,      "default_value": "string",      "default_disabled": true,      "validation": {},      "restrictions": {        "readonly_ui": true,        "hidden_ui": true,        "excluded_from_search": true      },      "group": "string",      "datasource": {        "values": [          {            "external_id": "string",            "value": "string",            "position": 0,            "state": "active"          }        ]      },      "allow_dynamic_list_values": true,      "alphabetically_sorted": true    }  ]}