Leave Group
Allows a member to voluntarily leave a group.
Endpoint
Section titled “Endpoint”POST
/group/v1/leaveRequest Body
Section titled “Request Body”curl -X POST https://api.juspredict.com/group/v1/leave \-H 'Authorization: Bearer YOUR_TOKEN' \-H 'Content-Type: application/json' \-d '{"group_id": "group-uuid","user_id": "user-uuid"}'{"group_id": "group-uuid","user_id": "user-uuid"}Response Body
Section titled “Response Body”{"status": { "type": "SUCCESS" }}{"status": {"type": "ERROR","details": [ { "code": "401", "message": "Unauthorized access token." }]}}Response Fields
Section titled “Response Fields”| Field | Type | Description |
|---|---|---|
status | Status | Operation status. |