cURL
curl --request PUT \ --url https://wsapi.chat/account/instances/{id}/name \ --header 'Content-Type: application/json' \ --header 'X-Api-Key: <api-key>' \ --data ' { "name": "<string>" } '
{ "status": 400, "detail": "invalid request body" }
Customer API key. Only the customer-level key is accepted for /account/* endpoints. No X-Instance-Id header is required.
256
Name updated