# Reorder metadata keys `POST /api/v1/metadata-keys/reorder` Sets the display order of all metadata keys. ## Permissions Send your API key in `X-API-Key`. Required permissions are **Settings → Write**. ## Body parameters - `ids` (array of integers, required) — All current catalog IDs in the desired order. ## Request Set ASDINCLOUD_API_KEY and any variables named in the example before running it. ```sh curl --request POST \ --url "https://api.asdincloud.com/api/v1/metadata-keys/reorder" \ --header "X-API-Key: $ASDINCLOUD_API_KEY" \ --header "Content-Type: application/json" \ --data '{"ids":[8,7]}' ``` ## Response **200 OK** Returns confirmation that the ordering was saved. Example with fictional data and selected fields. ```json { "status": "success" } ``` ## Errors - `401` — The API key is missing or invalid. - `403` — The API key lacks the required permission. - `422` — One or more fields failed validation.