Skip to main content
PATCH
Change a member's role

Authorizations

Authorization
string
header
required

Session access token (JWT) from POST /v1/auth/login or /v1/auth/refresh. A session satisfies every API scope.

Path Parameters

id
string
required

Team id.

userId
string
required

Body

application/json
role
enum<string>
required
Available options:
ADMIN,
OPERATOR,
VIEWER

Response

The member after the change.

success
boolean
required
data
object
required