Skip to main content
PATCH
Update user role

Authorizations

Authorization
string
header
required

Mixpeek API key, sent as Authorization: Bearer mxp_sk_.... Create one in Studio under Settings → API Keys, or with an admin key via POST /v1/organizations/users/{user_email}/api-keys. A missing header returns 403; an invalid or revoked key returns 401.

Path Parameters

app_id
string
required

App ID

user_id
string
required

Clerk user ID

Body

application/json
role
string
required

New Clerk org role (org:admin or org:member)

Response

Successful Response

user_id
string
required
membership_id
string
required
role
string
required
email
string | null
name
string | null
avatar_url
string | null
joined_at
string | null