cURL
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>" } } }
Connect a new domain for the authenticated workspace.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Id of the Workspace
The domain name for connecting
Successful response
Show child attributes