Connect a custom domain
POST/api/hosted-apps/:app_id/domains
Connects a custom domain to the app; with with_twin also its root or www twin, and main picks which of the two becomes the main address once live. Returns 201 with the app's domains, each waiting for DNS. Requires the Org Owner or Org Admin role and Custom domains on the plan (else 403); returns 422 with the reason for a name that is not a valid hostname, a wildcard, one of Jaah's domains, already connected to another app, over the plan's domains per app, or an app that is not live, and 503 while custom domains are not available.
Request
Responses
- 201
- 422
Created
Unprocessable content