X-User-Token: ********************curl --location --request PUT 'https://api.flashcat.cloud/api/n9e/es-index-patterns/weights' \
--header 'X-User-Token: <api-key>' \
--header 'Content-Type: application/json' \
--data '[
{ "id": 1, "weight": 30 },
{ "id": 2, "weight": 10 }
]'{
"err": "string",
"request_id": "string"
}