Custom Domain
API referenceTemplates

Build the Domain Connect apply URL for a domain

POST
/templates/{serviceId}/apply-url

Path Parameters

serviceId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/templates/string/apply-url" \  -H "Content-Type: application/json" \  -d '{    "domain": "string",    "provider_base": "string"  }'
{  "apply_url": "http://example.com"}
{  "code": "string",  "title": "string",  "details": "string"}
{  "code": "string",  "title": "string",  "details": "string"}
{  "code": "string",  "title": "string",  "details": "string"}