v1

latestOpenAPI 3.1.02026-07-14159142161.9 KB
groupService

Update group. Only available to group owner.

Update group. Only available to group owner.

patch/groups/v1/groups/{groupId}

Request body

namestring required
groupTypestring required

Available values - public, private, secret.

descriptionstring
groupThemestring
ownerIdstring

1

moderatorsIdsstring[]
usersIdsstring[]
archivalboolean

true or false

Example request

{
  "name": "Title group",
  "groupType": "public",
  "description": "description group",
  "groupTheme": "group theme",
  "archival": true
}

Response

OK

idinteger
namestring
groupTypestring
ownerIdstring
archivedboolean
descriptionstring
groupThemestring
logostring
enableColorThemeboolean
moderatorsIdsstring[]
usersIdsstring[]

Example response

{
  "id": 1,
  "name": "Title group",
  "groupType": "private",
  "description": "private",
  "groupTheme": "private",
  "logo": "/8c/nsfkjnns486sd4f56.jpg",
  "moderatorsIds": [
    "11",
    "22"
  ],
  "usersIds": [
    "1",
    "2"
  ]
}