This endpoint updates an existing app based on the provided App ID.
PUT
/
v1
/
apps
/
{appId}
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"]}}
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.
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"]}}