nooks
GitHubInstall
People and groups

Create group

CreateGroup adds a Group. Admins only.

POST
/api/v1/groups

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/api/v1/groups" \  -H "Content-Type: application/json" \  -d '{}'
{  "group": {    "uid": "string",    "name": "string",    "members": [      {        "uid": "string",        "name": "string",        "email": "string",        "role": "ROLE_UNSPECIFIED",        "mustChangePassword": true,        "createdAt": "string",        "lastSignedInAt": "string"      }    ],    "listNames": [      "string"    ]  }}