cURL
curl --request PUT \ --url https://api.z-api.io/instances/{instanceId}/token/{token}/update-name \ --header 'Client-Token: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "value": "<string>" } '
Renames a Z-API instance
{ "value": "new name" }
{ "value": true }