v1

latestOpenAPI 3.0.0Apache 2.02026-07-179012215.4 KB
groups

Create a new Group

Create a new Group

post/api/users/:userId/groups

Path parameters

userIdstring required

logged in user id

Request body

namestring
parentIdstring
visibility'public' | 'private'

Response

Created

Example response

{
  "data": {
    "id": "c2eb6752-7d88-4153-93ae-fe47aee26573",
    "name": "CitizenOS members",
    "creator": {
      "id": "c2eb6752-7d88-4153-93ae-fe47aee26573"
    }
  }
}