Skip to main content
Create a copyable workspace invitation link

Authorizations

acornops_cp_session
string
cookie
required

Path Parameters

workspaceId
string<uuid>
required
Example:

"4b930d98-add9-4924-ab26-3c16d96ec373"

Body

application/json
email
string<email>
required
Example:

"sre@example.com"

role
string
required

Deployment-supported workspace role key. Built-ins are owner, admin, operator, viewer, and auditor; custom roles are lowercase snake_case.

Pattern: ^[a-z][a-z0-9]*(?:_[a-z0-9]+)*$
expiresInDays
integer
default:7
Required range: 1 <= x <= 30

Response

Invitation created. Response includes the raw token once and roleTemplate when the role is supported.

Invitation response. Includes the raw invitation token once.

id
string<uuid>
required
workspaceId
string<uuid>
required
email
string<email>
required
role
string
required
status
string
required
roleTemplate
object
token
string

Returned only at creation time.

expiresAt
string<date-time>
createdAt
string<date-time>