User: leave group

Causes a user to leave a group. Idempotent.

Basic request:

PUT https://{APIDOMAIN}/api-v1/user/leave

Parameters:

user_uuid string the v4uuid of a user belonging to your org
group_uuid string the v4uuid of a group belonging to your org

Example response

{
    "message": "User has been removed the group",
    "data": {
        "user_uuid": "3cab6bdf-d108-4392-aa95-0c85fb64fbe5",
        "group_uuid": "a1af0ed6-f245-45a0-9d23-4c0afe16d228"
    }
}