cURL
curl --request POST \ --url https://{server-url}/chat/updateProfileName/{instance} \ --header 'Content-Type: application/json' \ --header 'apikey: <api-key>' \ --data '{ "name": "<string>" }'
Update profile name
Your authorization key header
Name instance
New name for profile