nooks
GitHubInstall
People and groups

Set member role

SetMemberRole makes somebody an Admin, or stops them being one.

PUT
/api/v1/members/{memberUid}/role

Path Parameters

memberUid*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/members/string/role" \  -H "Content-Type: application/json" \  -d '{}'
{  "member": {    "uid": "string",    "name": "string",    "email": "string",    "role": "ROLE_UNSPECIFIED",    "mustChangePassword": true,    "createdAt": "string",    "lastSignedInAt": "string"  }}