latestSwagger 2.02026-08-1095121164.0 KB

94758829689e

sites

Get Environment Settings

Returns environment settings for the specified environment.

get/v0/sites/{site_id}/environments/{env_id}/settings

Path parameters

site_idstring required

Site ID

env_idstring required

Environment ID

Response

domainstring required

Primary domain for the environment

domainsstring[]

List of all domains associated with the environment (for WordPress multisite)

Example response

{
  "domain": "dev-sitename.pantheonsite.io",
  "domains": [
    "dev-sitename.pantheonsite.io",
    "www.example.com"
  ]
}