Skip to main content
POST
Assign an organization member to the workspace

Authorizations

Authorization
string
header
required

Session token as Authorization: Bearer (the CLI and scripts).

Path Parameters

orgSlug
string
required
workspaceSlug
string
required

Body

application/json
email
string<email>
required
role
enum<string>
required
Available options:
admin,
member,
viewer

Response

Assigned

userId
string
required
email
string
required
name
string
required
role
enum<string>
required

The assigned role, or the effective one when inherited

Available options:
admin,
member,
viewer
inherited
boolean
required

True when access comes from the organization role alone (no assignment)

organizationRole
enum<string>
required
Available options:
admin,
member,
viewer,
guest