Skip to main content
PUT
Link the owner's Google Workspace domain

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>
default:viewer

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

Available options:
viewer,
developer
domain
string

Optional check: the domain the caller expects to link. It must equal the session's verified domain.

Response

Linked.

ok
boolean
required