POST
/
v3
/
custom-domains
Create Custom Domain
curl --request POST \
  --url http://127.0.0.1:3333/v3/custom-domains \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "workspaceId": "<string>",
  "name": "<string>"
}
'
{
  "customDomain": {
    "name": "<string>",
    "createdAt": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json
workspaceId
string
required
name
string
required

Response

Default Response

customDomain
object
required