Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

properties
enum<string>[]

Select the workspace domain properties that should be returned

Available options:
role,
domain,
createdAt,
updatedAt

Body

application/json

Workspace domain to create

domain
string
required

Domain to create

Example:

"example.com"

role
enum<string>
required

Role of the user to access the workspace

Available options:
owner,
editor,
collaborator,
viewer,
commenter
Example:

"owner"

workspaceId
string
required

ID of the workspace

Example:

"luI89ZCeEJuF"

Response

Workspace domain created

data
object