Traffic Delivery
post/projects/{project_id}/domain-delivery-bindings/preview

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/projects/{project_id}/domain-delivery-bindings/preview
  • Auth: HTTP bearer

Path parameters

project_idinteger required

Project ID

Request body

delivery_profile_idinteger nullable
dns_provider_idinteger required
environment_idinteger required
hostnamestring required
origin_targetstring required
zonestring required

Response

Delivery plan; apply it with the returned preview_id

expires_atstring date-time required
origin_tls'existing_certificate' required
preview_idstring required
profile_idinteger required
profile_sourcestring required
provider_kind'direct' | 'cloudflare' | 'bunny' required
warningsstring[] required

Example response

{
  "record": {
    "expected_existing_record": {
      "content": {
        "value": {
          "address": "192.0.2.1"
        }
      },
      "fqdn": "www.example.com",
      "id": "abc123",
      "name": "www",
      "ttl": 300,
      "zone": "example.com"
    }
  }
}

Changes