POST
Change a role

Authorizations

claros_session
string
cookie
required

Web session cookie (the WorkOS session, sealed by the server); non-GET calls also need the X-CSRF-Token header

Path Parameters

ws
string
required
user_id
string
required

Body

application/json
role
enum<string>
required
Available options:
admin,
editor,
member,
owner,
expert

Response

Successful Response

The response is of type Response Set Role V1 Account Workspaces Ws Members User Id Post · object.