A Client ID for your org.
Path Parameters
The unique identifier of the app you want to update.
Body
The updated name for the App.
An updated array of an index connected to the app.
Response
An array indicating the connected index for the updated app. Empty if there is no connected index.
curl --location --request PUT 'https://api.getmetal.io/v1/apps/6535126922af1b89d6d22ffa' \
--header 'Content-Type: application/json' \
--header 'x-metal-api-key: <api-key>' \
--header 'x-metal-client-id: <client-id>' \
--data-raw '{
"name": "Updated Metal App",
"indexes": ["index1"]
}'
{
"data": {
"id": "6535126922af1b89d6d22ffa",
"name": "Updated Metal App",
"indexes": ["index1"]
}
}
Feel free to adjust as per the exact requirements and specifics of the API endpoint.