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