latestOpenAPI 3.1.02026-08-085123123.9 KB

bf0b51ee8e8a

Groups

Edit a group

Modify the representation of a group by changing only the specified attributes. Unspecified attributes are left untouched. Note: Editing a dynamic group is not possible from the API.

patch/groups/{id}

Path parameters

idinteger required

The group's numerical ID

Request body

titlestring

The name of the group

isPublicboolean

Should the group be a public group or not. See our documentation for the difference between the two types: https://support.cyberimpact.com/articles/63?l=en_ca#publicvsprivategroup

Example request

{
  "title": "testing title Modification for group",
  "isPublic": true
}

Response

The modified group

idinteger
titlestring
isPublicboolean
membersCountinteger
mailingsCountinteger
createdOnstring
isDynamicboolean

Example response

{
  "id": 159872,
  "title": "Testing Group 1",
  "membersCount": 12,
  "createdOn": "2014-12-09 13:48:44.887"
}