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.
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" ] }}Remove member
RemoveMember closes an account and deletes the Lists they started. What they added to anybody else's Lists stays, with their name gone from it: a household's shopping is not one person's to take away by leaving.
Set member role
SetMemberRole makes somebody an Admin, or stops them being one.