nooks
GitHubInstall
People and groups

Set group members

SetGroupMembers replaces who is in a Group. Admins only. Removing someone takes away the Lists they reached through it, and nothing else.

PUT
/api/v1/groups/{groupUid}/members

Path Parameters

groupUid*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X PUT "https://example.com/api/v1/groups/string/members" \  -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"    ]  }}