hosting

POST /api/v1/hosting/apps/{app_id}/domains

Request

  • Base URL
    https://composal.com (the document declares no server; this is the origin it was published from)
  • URL
    https://composal.com/api/v1/hosting/apps/{app_id}/domains
  • Auth
    HTTP bearer

Path parameters

app_idstring required

Request body

app_service_idstring required
app_environment_idstring
hostnamestring required
kind'primary' | 'redirect' | 'preview' | 'internal' required
tls_status'pending' | 'active' | 'failed'
dns_status'pending' | 'configured' | 'failed'
redirect_tostring

Response

App domain created

Changes

No recorded changes to this operation across all 3 revisions of this API.