latestOpenAPI 3.1.02026-08-085123123.9 KB

bf0b51ee8e8a

Members

Replace member's groups

Replace completely the list of groups that a member is part of with the ones specified.

put/members/{key}/groups

Path parameters

keystring required

Can be either the member's email address or their numerical ID

Request body

groupsstring

CSV list of group IDs the member will belong to

Example request

{
  "groups": "171415,159877"
}

Response

The complete updated list of the member's groups

Example response

{
  "groups": [
    {
      "id": 159871,
      "title": "Testing_group1",
      "createdOn": "2014-12-09 13:36:18.367"
    }
  ]
}