Update Website Member Role
Team Management
Update Website Member Role
Updates a website member’s role. Accepts a global API key, or a website-scoped key if the website is included in the key’s allowlist. Cannot be used to modify the API key’s owning user or the organization owner.
PATCH
Update Website Member Role
Path Parameters
The unique identifier of the website
The unique identifier of the target user
Body
application/json
Request body for updating a member's role
The new role to assign to the member
Available options:
admin, viewer Example:
"admin"