Space

Update a space member's role

PATCH
/api/v1/space/role/update
/api/v1/space/role/update

The Authorization access token

Authorization

Authorization
Required
<token>

Please enter a valid access token

In: header

Request Body

application/jsonOptional

The ID of the space, the ID of the user and the new permissions

userIds
Required
array<string>

spaceId
Required
string

Minimum length: 1

permission
Required
integer

Format: "int32"Value in: 0 | 1 | 2 | 3 | 4 | -1
curl -X PATCH "https://example.com/api/v1/space/role/update" \
  -H "Authorization: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "userIds": [
      "string"
    ],
    "spaceId": "string",
    "permission": 0
  }'

OK