Make a custom domain main
POST/api/hosted-apps/:app_id/domains/:domain_id/main
Makes a live custom domain the app's main address; its root or www twin then redirects to it. Returns the app's domains, 409 for a domain that is not live. Requires the Org Owner or Org Admin role.
Request
Responses
- 200
- 422
OK
Unprocessable content