curl --request DELETE \
--url https://{server-url}/group/leaveGroup/{instance} \
--header 'apikey: <api-key>'
Leave group
curl --request DELETE \
--url https://{server-url}/group/leaveGroup/{instance} \
--header 'apikey: <api-key>'
Your authorization key header
ID of the instance to connect
Group remote JID