Groups
Leave Group
POST
/api/v1/group/leaveLeave a group.
Parameters
- GroupJIDstringRequired
The group id, ending in @g.us.
| Name | Type | Required | Description |
|---|---|---|---|
| GroupJID | string | Yes | The group id, ending in @g.us. |
Code Examples
cURL
curl -X POST "https://orvachat.com/api/v1/group/leave" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"GroupJID": "[email protected]"
}'Response Example
200 OK
{
"code": 200,
"data": {
"Details": "Left group successfully"
},
"success": true
}