groups/removePerson

Remove a person from a group.

POST https://api.elvanto.com/v1/groups/removePerson.{json|xml|php}

Parameters

Name Type Description
id Required string The ID of the group.
person_id Required string The ID of the person.
Expected request JSON HTTP POST
{
    "id": "57beccc8-af4a-11e0-9b4e-f27fa4b6a61b",
    "person_id": "8a631195-8914-4136-858c-f160885ab60d"
}
Expected response JSON XML PHP
{
    "generated_in": "0.018",
    "status": "ok",
    "group": {
        "id": "57beccc8-af4a-11e0-9b4e-f27fa4b6a61b",
        "person_id": "8a631195-8914-4136-858c-f160885ab60d"
    }
}
Error responses:

Please see our response status codes documentation for details of potential error responses for any API request.

  • 404: Invalid Group ID The Group ID you provided does not exist.
  • 404: Invalid Person ID The Person ID you provided does not exist.