POST
/
customDomain
curl --request POST \
  --url https://api.cme.sh/customDomain \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "workspaceId": "<string>",
  "domain": "<string>"
}'
{
  "status": true,
  "data": {
    "linkId": "<string>",
    "mandatory": {
      "pointsTo": "<string>",
      "recordType": "<string>",
      "hostname": "<string>"
    },
    "optional": {
      "pointsTo": "<string>",
      "recordType": "<string>",
      "hostname": "<string>"
    }
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Connect a new domain for the authenticated workspace.

The body is of type object.

Response

200
application/json

Successful response

The response is of type object.