Remove User
Allows the group owner or admin to remove one or more users from the group.
Endpoint
Section titled “Endpoint”POST
/group/v1/removeuserRequest Body
Section titled “Request Body”curl -X POST https://api.juspredict.com/group/v1/removeuser \-H 'Authorization: Bearer YOUR_TOKEN' \-H 'Content-Type: application/json' \-d '{"group_id": "group-uuid","user_id": ["u1", "u2"]}'{"group_id": "group-uuid","user_id": ["u1", "u2"]}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. |