Skip to main content
Add a workspace member by email

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]+)*$
displayName
string
Example:

"SRE User"

Response

Workspace member added. Response includes roleTemplate when the role is supported.

workspaceId
string<uuid>
required
userId
string<uuid>
required
role
string
required
email
string<email>
displayName
string
roleTemplate
object
joinedAt
string<date-time>