Skip to main content
PATCH
Update Website Member Role

Authorizations

x-api-key
string
header
required

API key for authentication. You can create one here.

Path Parameters

website_id
string<uuid>
required

The unique identifier of the website

user_id
string<uuid>
required

The unique identifier of the target user

Body

application/json

Request body for updating a member's role

role
enum<string>
required

The new role to assign to the member

Available options:
admin,
viewer
Example:

"admin"

Response

Member role updated successfully

success
boolean
required
Example:

true

member
object
required

A user's membership in a specific website