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