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

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/apply
  • Auth: HTTP bearer

Path parameters

project_idinteger required

Project ID

Request body

preview_idstring required

Response

Delivery binding applied

applied_atstring date-time required
bunny_hostname_ownedboolean required

Whether Temps added this hostname to the Bunny Pull Zone. Only then does removing the binding also detach the hostname, and its edge certificate, from the Pull Zone. false when the hostname was already on the Pull Zone before Temps set up delivery: removal leaves it attached. Always false for Cloudflare and direct bindings.

created_atstring date-time required
custom_domain_idinteger required
delivery_profile_idinteger required
delivery_profile_namestring required
dns_provider_idinteger required
environment_idinteger required
hostnamestring required
idinteger required
last_errorstring nullable
origin_targetstring required
profile_sourcestring required
project_idinteger required
provider_kind'direct' | 'cloudflare' | 'bunny' required
proxiedboolean required
record_type'A' | 'AAAA' | 'CNAME' | 'TXT' | 'MX' | 'NS' | 'SRV' | 'CAA' | 'PTR' required

DNS record types

statusstring required
updated_atstring date-time required
zonestring required

Changes