Skip to main content
PATCH
Change a member's role

Authorizations

Authorization
string
header
required

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

Path Parameters

user_id
string
required

Body

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

Response

Successful response

id
string
required
email
string
required
name
string | null
required
image_url
string | null
required
role
enum<string>
required
Available options:
ADMIN,
USER,
VIEWER
joined_at
string
required