This documentation is no longer supported, please refer to the platform API reference.

This API will be sunset on April 15, 2017.

GET /apps/:app/domains

List domains for an app
app
required
the app name

Request (HTTP)

Request (curl)

Response

POST /apps/:app/domains

Add a domain to an app
app
required
the app name
domain_name[domain]
required
the domain to add

Request (HTTP)

Request (curl)

Response

DELETE /apps/:app/domains/:domain_name

Remove a domain from an app
app
required
the app name
domain_name
required
the domain to remove

Request (HTTP)

Request (curl)

Response