Skip to main content
PATCH
Change the role people from the linked domain join with

Authorizations

hookie_session
string
cookie
required

The console's sealed session cookie, set by WorkOS AuthKit. Mutating requests also require the X-Requested-With CSRF header.

Body

application/json
default_role
enum<string>
required

The role people from the domain join with. Never admin or owner.

Available options:
viewer,
developer

Response

Updated (or already that role).

ok
boolean
required