Skip to main content
PUT
/
workspaces
/
{workspacePublicId}
/
members
/
{memberPublicId}
/
role
Update member role
curl --request PUT \
  --url https://kan.bn/api/v1/workspaces/{workspacePublicId}/members/{memberPublicId}/role \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "success": true,
  "role": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.kan.bn/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workspacePublicId
string
required
Minimum string length: 12
memberPublicId
string
required
Minimum string length: 12

Body

application/json
role
enum<string>
required
Available options:
admin,
member,
guest

Response

Successful response

success
boolean
required
role
string
required