cURL
curl --request POST \ --url https://api.z-api.io/instances/{instanceId}/token/{token}/leave-group \ --header 'Client-Token: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "groupId": "<string>" } '
Leave a group you are a member of
Documentation IndexFetch the complete documentation index at: https://developer.z-api.io/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://developer.z-api.io/llms.txt
Use this file to discover all available pages before exploring further.
{ "groupId": "120363019502650977-group" }
{ "value": true }