Application Environment

Add custom domain to environment

Adds a custom domain to the specified environment

post/v2/application/{organization}/{project}/{application}/environment/{environment}/custom-domain

Request

  • Base URL: https://api.zephyr-cloud.io
  • URL: https://api.zephyr-cloud.io/v2/application/{organization}/{project}/{application}/environment/{environment}/custom-domain
  • Auth: HTTP bearer

Path parameters

organizationstring required

Organization name (slug)

Example:zephyr-cloud
projectstring required

Project name (slug)

Example:main-app
applicationstring required

Application name (slug)

Example:web-dashboard
environmentstring required

Environment name

Example:production

Request body

customDomainstring required

Custom domain name to add

Example request

{
  "customDomain": "app.example.com"
}

Response

Custom domain added successfully

valueboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.