{
  "info": {
    "_postman_id": "ac8b670d-a0d2-430f-990e-1db12229f01d",
    "name": "Upsun.com Rest Add-ons Domain Management API",
    "description": "# Introduction\n\nUpsun, formerly Platform.sh, is a container-based Platform-as-a-Service. Our main API\nis simply Git. With a single `git push` and a couple of YAML files in\nyour repository you can deploy an arbitrarily complex cluster.\nEvery [**Project**](#tag/Project) can have multiple applications (PHP,\nNode.js, Python, Ruby, Go, etc.) and managed, automatically\nprovisioned services (databases, message queues, etc.).\n\nEach project also comes with multiple concurrent\nlive staging/development [**Environments**](#tag/Environment).\nThese ephemeral development environments\nare automatically created every time you push a new branch or create a\npull request, and each has a full copy of the data of its parent branch,\nwhich is created on-the-fly in seconds.\n\nOur Git implementation supports integrations with third party Git\nproviders such as GitHub, Bitbucket, or GitLab, allowing you to simply\nintegrate Upsun into your existing workflow.\n\n## Using the REST API\n\nIn addition to the Git API, we also offer a REST API that allows you to manage\nevery aspect of the platform, from managing projects and environments,\nto accessing accounts and subscriptions, to creating robust workflows\nand integrations with your CI systems and internal services.\n\nThese API docs are generated from a standard **OpenAPI (Swagger)** Specification document\nwhich you can find here in [YAML](openapispec-upsun.yaml) and in [JSON](openapispec-upsun.json) formats.\n\nThis RESTful API consumes and produces HAL-style JSON over HTTPS,\nand any REST library can be used to access it. On GitHub, we also host\na few API libraries that you can use to make API access easier, such as our\n[PHP API client](https://github.com/upsun/upsun-sdk-php).\n\nIn order to use the API you will first need to have an [Upsun account](https://auth.upsun.com/register/) \nand [create an API Token](https://docs.upsun.com/anchors/cli/api-token/).\n\n# Authentication\n\n## OAuth2\n\nAPI authentication is done with OAuth2 access tokens.\n\n### API tokens\n\nYou can use an API token as one way to get an OAuth2 access token. This\nis particularly useful in scripts, e.g. for CI pipelines.\n\nTo create an API token, go to the \"API Tokens\" section\nof the \"Account Settings\" tab on the [Console](https://console.upsun.com).\n\nTo exchange this API token for an access token, a `POST` request\nmust be made to `https://auth.upsun.com/oauth2/token`.\n\nThe request will look like this in cURL:\n\n<pre>\ncurl -u platform-api-user: \\\n    -d 'grant_type=api_token&amp;api_token=<em><b>API_TOKEN</b></em>' \\\n    https://auth.upsun.com/oauth2/token\n</pre>\n\nThis will return a \"Bearer\" access token that\ncan be used to authenticate further API requests, for example:\n\n<pre>\n{\n    \"access_token\": \"<em><b>abcdefghij1234567890</b></em>\",\n    \"expires_in\": 900,\n    \"token_type\": \"bearer\"\n}\n</pre>\n\n### Using the Access Token\n\nTo authenticate further API requests, include this returned bearer token\nin the `Authorization` header. For example, to retrieve a list of\n[Projects](#tag/Project)\naccessible by the current user, you can make the following request\n(substituting the dummy token for your own):\n\n<pre>\ncurl -H \"Authorization: Bearer <em><b>abcdefghij1234567890</b></em>\" \\\n    https://api.upsun.com/projects\n</pre>\n\n# HAL Links\n\nMost endpoints in the API return fields which defines a HAL\n(Hypertext Application Language) schema for the requested endpoint.\nThe particular objects returns and their contents can vary by endpoint.\nThe payload examples we give here for the requests do not show these\nelements. These links can allow you to create a fully dynamic API client\nthat does not need to hardcode any method or schema.\n\nUnless they are used for pagination we do not show the HAL links in the\npayload examples in this documentation for brevity and as their content\nis contextual (based on the permissions of the user).\n\n## _links Objects\n\nMost endpoints that respond to `GET` requests will include a `_links` object\nin their response. The `_links` object contains a key-object pair labelled `self`, which defines\ntwo further key-value pairs:\n\n* `href` - A URL string referring to the fully qualified name of the returned object. For many endpoints, this will be the direct link to the API endpoint on the region gateway, rather than on the general API gateway. This means it may reference a host of, for example, `eu-2.platform.sh` rather than `api.upsun.com`.\n* `meta` - An object defining the OpenAPI Specification (OAS) [schema object](https://swagger.io/specification/#schemaObject) of the component returned by the endpoint.\n\nThere may be zero or more other fields in the `_links` object resembling fragment identifiers\nbeginning with a hash mark, e.g. `#edit` or `#delete`. Each of these keys\nrefers to a JSON object containing two key-value pairs:\n\n* `href` - A URL string referring to the path name of endpoint which can perform the action named in the key.\n* `meta` - An object defining the OAS schema of the endpoint. This consists of a key-value pair, with the key defining an HTTP method and the value defining the [operation object](https://swagger.io/specification/#operationObject) of the endpoint.\n\nTo use one of these HAL links, you must send a new request to the URL defined\nin the `href` field which contains a body defined the schema object in the `meta` field.\n\nFor example, if you make a request such as `GET /projects/abcdefghij1234567890`, the `_links`\nobject in the returned response will include the key `#delete`. That object\nwill look something like this fragment:\n\n```\n\"#delete\": {\n    \"href\": \"/api/projects/abcdefghij1234567890\",\n    \"meta\": {\n        \"delete\": {\n            \"responses\": {\n                . . . // Response definition omitted for space\n            },\n            \"parameters\": []\n        }\n    }\n}\n```\n\nTo use this information to delete a project, you would then send a `DELETE`\nrequest to the endpoint `https://api.upsun.com/api/projects/abcdefghij1234567890`\nwith no body or parameters to delete the project that was originally requested.\n\n## _embedded Objects\n\nRequests to endpoints which create or modify objects, such as `POST`, `PATCH`, or `DELETE`\nrequests, will include an `_embedded` key in their response. The object\nrepresented by this key will contain the created or modified object. This\nobject is identical to what would be returned by a subsequent `GET` request\nfor the object referred to by the endpoint.\n\n\nContact Support:\n Name: Support",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T03:24:07.000Z",
    "updatedAt": "2026-07-28T03:24:07.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-ac8b670d-a0d2-430f-990e-1db12229f01d"
  },
  "item": [
    {
      "name": "projects",
      "item": [
        {
          "name": "{projectId}",
          "item": [
            {
              "name": "domains",
              "item": [
                {
                  "name": "{domainId}",
                  "item": [
                    {
                      "name": "Get a project domain",
                      "id": "ecd85b77-c766-4d8d-99aa-65e2bc1820af",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/projects/:projectId/domains/:domainId",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "projects",
                            ":projectId",
                            "domains",
                            ":domainId"
                          ],
                          "variable": [
                            {
                              "id": "ba3ffc66-b136-4df9-a593-efe0cc5418eb",
                              "key": "projectId",
                              "value": "<string>",
                              "description": "(Required) "
                            },
                            {
                              "id": "ffe392ec-b668-42be-a9f0-aaeab5deb043",
                              "key": "domainId",
                              "value": "<string>",
                              "description": "(Required) "
                            }
                          ]
                        },
                        "description": "Retrieve information about a single user-specified domain\nassociated with a project.\n"
                      },
                      "response": [
                        {
                          "id": "8de15abe-36a9-4938-9332-f1f47b6474bf",
                          "name": "New Response",
                          "originalRequest": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: oauth2",
                                "key": "Authorization",
                                "value": "<token>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/projects/:projectId/domains/:domainId",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "projects",
                                ":projectId",
                                "domains",
                                ":domainId"
                              ],
                              "variable": [
                                {
                                  "key": "projectId"
                                },
                                {
                                  "key": "domainId"
                                }
                              ]
                            }
                          },
                          "status": "Internal Server Error",
                          "code": 500,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"created_at\": \"<dateTime>\",\n  \"updated_at\": \"<dateTime>\",\n  \"type\": \"<string>\",\n  \"name\": \"<string>\",\n  \"attributes\": {\n    \"inb\": \"<string>\"\n  },\n  \"id\": \"<string>\",\n  \"project\": \"<string>\",\n  \"registered_name\": \"<string>\",\n  \"is_default\": \"<boolean>\"\n}",
                          "createdAt": "2026-07-28T03:24:08.000Z",
                          "updatedAt": "2026-07-28T03:24:08.000Z",
                          "uid": "35240-8de15abe-36a9-4938-9332-f1f47b6474bf"
                        }
                      ],
                      "createdAt": "2026-07-28T03:24:08.000Z",
                      "updatedAt": "2026-07-28T03:24:08.000Z",
                      "uid": "35240-ecd85b77-c766-4d8d-99aa-65e2bc1820af"
                    },
                    {
                      "name": "Update a project domain",
                      "id": "d0415f5e-530a-4ec1-b7d5-babaa7eba7fb",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "method": "PATCH",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"attributes\": {\n    \"dolore6f\": \"<string>\",\n    \"dolore_23\": \"<string>\",\n    \"qui_c\": \"<string>\"\n  },\n  \"is_default\": \"<boolean>\"\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/projects/:projectId/domains/:domainId",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "projects",
                            ":projectId",
                            "domains",
                            ":domainId"
                          ],
                          "variable": [
                            {
                              "id": "463cf03f-ce81-474d-acc1-f9581449fc12",
                              "key": "projectId",
                              "value": "<string>",
                              "description": "(Required) "
                            },
                            {
                              "id": "6c164e6c-d11a-431d-a7fe-4d9ebe338fb0",
                              "key": "domainId",
                              "value": "<string>",
                              "description": "(Required) "
                            }
                          ]
                        },
                        "description": "Update the information associated with a single user-specified\ndomain associated with a project.\n"
                      },
                      "response": [
                        {
                          "id": "592b7813-fb6c-44d9-833b-5bed6ca90fb8",
                          "name": "New Response",
                          "originalRequest": {
                            "method": "PATCH",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: oauth2",
                                "key": "Authorization",
                                "value": "<token>"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"attributes\": {\n    \"dolore6f\": \"<string>\",\n    \"dolore_23\": \"<string>\",\n    \"qui_c\": \"<string>\"\n  },\n  \"is_default\": \"<boolean>\"\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/projects/:projectId/domains/:domainId",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "projects",
                                ":projectId",
                                "domains",
                                ":domainId"
                              ],
                              "variable": [
                                {
                                  "key": "projectId"
                                },
                                {
                                  "key": "domainId"
                                }
                              ]
                            }
                          },
                          "status": "Internal Server Error",
                          "code": 500,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"status\": \"<string>\",\n  \"code\": \"<integer>\"\n}",
                          "createdAt": "2026-07-28T03:24:08.000Z",
                          "updatedAt": "2026-07-28T03:24:08.000Z",
                          "uid": "35240-592b7813-fb6c-44d9-833b-5bed6ca90fb8"
                        }
                      ],
                      "createdAt": "2026-07-28T03:24:08.000Z",
                      "updatedAt": "2026-07-28T03:24:08.000Z",
                      "uid": "35240-d0415f5e-530a-4ec1-b7d5-babaa7eba7fb"
                    },
                    {
                      "name": "Delete a project domain",
                      "id": "db1e1b9e-f489-4f1a-be8f-8634f5711cbc",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "method": "DELETE",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/projects/:projectId/domains/:domainId",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "projects",
                            ":projectId",
                            "domains",
                            ":domainId"
                          ],
                          "variable": [
                            {
                              "id": "156277e2-5850-40df-98ae-cdd820dc9ae7",
                              "key": "projectId",
                              "value": "<string>",
                              "description": "(Required) "
                            },
                            {
                              "id": "7a9ce514-cdc2-4ac9-a267-5d99054e5125",
                              "key": "domainId",
                              "value": "<string>",
                              "description": "(Required) "
                            }
                          ]
                        },
                        "description": "Delete a single user-specified domain associated with a project.\n"
                      },
                      "response": [
                        {
                          "id": "00487fc4-1649-40bf-9cfc-0d6cba6b0775",
                          "name": "New Response",
                          "originalRequest": {
                            "method": "DELETE",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: oauth2",
                                "key": "Authorization",
                                "value": "<token>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/projects/:projectId/domains/:domainId",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "projects",
                                ":projectId",
                                "domains",
                                ":domainId"
                              ],
                              "variable": [
                                {
                                  "key": "projectId"
                                },
                                {
                                  "key": "domainId"
                                }
                              ]
                            }
                          },
                          "status": "Internal Server Error",
                          "code": 500,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"status\": \"<string>\",\n  \"code\": \"<integer>\"\n}",
                          "createdAt": "2026-07-28T03:24:08.000Z",
                          "updatedAt": "2026-07-28T03:24:08.000Z",
                          "uid": "35240-00487fc4-1649-40bf-9cfc-0d6cba6b0775"
                        }
                      ],
                      "createdAt": "2026-07-28T03:24:08.000Z",
                      "updatedAt": "2026-07-28T03:24:08.000Z",
                      "uid": "35240-db1e1b9e-f489-4f1a-be8f-8634f5711cbc"
                    }
                  ],
                  "id": "93402a01-9c7b-4406-814c-1aae1fb94742",
                  "createdAt": "2026-07-28T03:24:08.000Z",
                  "updatedAt": "2026-07-28T03:24:08.000Z",
                  "uid": "35240-93402a01-9c7b-4406-814c-1aae1fb94742"
                },
                {
                  "name": "Get list of project domains",
                  "id": "481e097c-3c17-49e2-b653-f6af213ca710",
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/projects/:projectId/domains",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "projects",
                        ":projectId",
                        "domains"
                      ],
                      "variable": [
                        {
                          "id": "0c5b00bc-71be-4cf1-97b3-1ca798d85678",
                          "key": "projectId",
                          "value": "<string>",
                          "description": "(Required) "
                        }
                      ]
                    },
                    "description": "Retrieve a list of objects representing the user-specified domains\nassociated with a project. Note that this does *not* return the\ndomains automatically assigned to a project that appear under\n\"Access site\" on the user interface.\n"
                  },
                  "response": [
                    {
                      "id": "9dce25ac-218d-4225-885e-101f801ab90a",
                      "name": "New Response",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: oauth2",
                            "key": "Authorization",
                            "value": "<token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/projects/:projectId/domains",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "projects",
                            ":projectId",
                            "domains"
                          ],
                          "variable": [
                            {
                              "key": "projectId"
                            }
                          ]
                        }
                      },
                      "status": "Internal Server Error",
                      "code": 500,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "[\n  {\n    \"created_at\": \"<dateTime>\",\n    \"updated_at\": \"<dateTime>\",\n    \"type\": \"<string>\",\n    \"name\": \"<string>\",\n    \"attributes\": {\n      \"Duis_\": \"<string>\"\n    },\n    \"id\": \"<string>\",\n    \"project\": \"<string>\",\n    \"registered_name\": \"<string>\",\n    \"is_default\": \"<boolean>\"\n  },\n  {\n    \"created_at\": \"<dateTime>\",\n    \"updated_at\": \"<dateTime>\",\n    \"type\": \"<string>\",\n    \"name\": \"<string>\",\n    \"attributes\": {\n      \"pariatur8cd\": \"<string>\"\n    },\n    \"id\": \"<string>\",\n    \"project\": \"<string>\",\n    \"registered_name\": \"<string>\",\n    \"is_default\": \"<boolean>\"\n  }\n]",
                      "createdAt": "2026-07-28T03:24:08.000Z",
                      "updatedAt": "2026-07-28T03:24:08.000Z",
                      "uid": "35240-9dce25ac-218d-4225-885e-101f801ab90a"
                    }
                  ],
                  "createdAt": "2026-07-28T03:24:08.000Z",
                  "updatedAt": "2026-07-28T03:24:08.000Z",
                  "uid": "35240-481e097c-3c17-49e2-b653-f6af213ca710"
                },
                {
                  "name": "Add a project domain",
                  "id": "8104b2d8-dd0d-4bb3-a19b-83193fc4d35a",
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Content-Type",
                        "value": "application/json"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\n  \"name\": \"<string>\",\n  \"attributes\": {\n    \"utd9b\": \"<string>\",\n    \"quis_8f\": \"<string>\"\n  },\n  \"is_default\": \"<boolean>\"\n}",
                      "options": {
                        "raw": {
                          "headerFamily": "json",
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{baseUrl}}/projects/:projectId/domains",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "projects",
                        ":projectId",
                        "domains"
                      ],
                      "variable": [
                        {
                          "id": "51a6b694-69d7-42a8-84c9-08875174d1d6",
                          "key": "projectId",
                          "value": "<string>",
                          "description": "(Required) "
                        }
                      ]
                    },
                    "description": "Add a single domain to a project.\nIf the `ssl` field is left blank without an object containing\na PEM-encoded SSL certificate, a certificate will\n[be provisioned for you via Let's Encrypt.](https://docs.upsun.com/anchors/routes/https/certificates/)\n"
                  },
                  "response": [
                    {
                      "id": "c7edd358-2eaa-4d64-bd5a-a66cea3f0cb7",
                      "name": "New Response",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: oauth2",
                            "key": "Authorization",
                            "value": "<token>"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"name\": \"<string>\",\n  \"attributes\": {\n    \"utd9b\": \"<string>\",\n    \"quis_8f\": \"<string>\"\n  },\n  \"is_default\": \"<boolean>\"\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/projects/:projectId/domains",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "projects",
                            ":projectId",
                            "domains"
                          ],
                          "variable": [
                            {
                              "key": "projectId"
                            }
                          ]
                        }
                      },
                      "status": "Internal Server Error",
                      "code": 500,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"status\": \"<string>\",\n  \"code\": \"<integer>\"\n}",
                      "createdAt": "2026-07-28T03:24:08.000Z",
                      "updatedAt": "2026-07-28T03:24:08.000Z",
                      "uid": "35240-c7edd358-2eaa-4d64-bd5a-a66cea3f0cb7"
                    }
                  ],
                  "createdAt": "2026-07-28T03:24:08.000Z",
                  "updatedAt": "2026-07-28T03:24:08.000Z",
                  "uid": "35240-8104b2d8-dd0d-4bb3-a19b-83193fc4d35a"
                }
              ],
              "id": "037b92b8-9bf3-430d-8cf1-ce22fef4fd5a",
              "createdAt": "2026-07-28T03:24:08.000Z",
              "updatedAt": "2026-07-28T03:24:08.000Z",
              "uid": "35240-037b92b8-9bf3-430d-8cf1-ce22fef4fd5a"
            },
            {
              "name": "environments",
              "item": [
                {
                  "name": "{environmentId}",
                  "item": [
                    {
                      "name": "domains",
                      "item": [
                        {
                          "name": "{domainId}",
                          "item": [
                            {
                              "name": "Get an environment domain",
                              "id": "5fff622d-eca5-4ccd-b4ec-382707b4b8ff",
                              "protocolProfileBehavior": {
                                "disableBodyPruning": true
                              },
                              "request": {
                                "method": "GET",
                                "header": [
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/projects/:projectId/environments/:environmentId/domains/:domainId",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "projects",
                                    ":projectId",
                                    "environments",
                                    ":environmentId",
                                    "domains",
                                    ":domainId"
                                  ],
                                  "variable": [
                                    {
                                      "id": "ba860f32-24ef-4ea3-9824-eb142782a085",
                                      "key": "projectId",
                                      "value": "<string>",
                                      "description": "(Required) "
                                    },
                                    {
                                      "id": "ba6ed3e8-377b-4fdd-80f3-ab0b37b3a50d",
                                      "key": "environmentId",
                                      "value": "<string>",
                                      "description": "(Required) "
                                    },
                                    {
                                      "id": "05767943-3905-4105-960a-14d363b5a444",
                                      "key": "domainId",
                                      "value": "<string>",
                                      "description": "(Required) "
                                    }
                                  ]
                                },
                                "description": "Retrieve information about a single user-specified domain\nassociated with an environment.\n"
                              },
                              "response": [
                                {
                                  "id": "b4fe76e4-5aed-40fe-8949-539ba52ebbdd",
                                  "name": "New Response",
                                  "originalRequest": {
                                    "method": "GET",
                                    "header": [
                                      {
                                        "key": "Accept",
                                        "value": "application/json"
                                      },
                                      {
                                        "description": "Added as a part of security scheme: oauth2",
                                        "key": "Authorization",
                                        "value": "<token>"
                                      }
                                    ],
                                    "url": {
                                      "raw": "{{baseUrl}}/projects/:projectId/environments/:environmentId/domains/:domainId",
                                      "host": [
                                        "{{baseUrl}}"
                                      ],
                                      "path": [
                                        "projects",
                                        ":projectId",
                                        "environments",
                                        ":environmentId",
                                        "domains",
                                        ":domainId"
                                      ],
                                      "variable": [
                                        {
                                          "key": "projectId"
                                        },
                                        {
                                          "key": "environmentId"
                                        },
                                        {
                                          "key": "domainId"
                                        }
                                      ]
                                    }
                                  },
                                  "status": "Internal Server Error",
                                  "code": 500,
                                  "_postman_previewlanguage": "json",
                                  "header": [
                                    {
                                      "key": "Content-Type",
                                      "value": "application/json"
                                    }
                                  ],
                                  "cookie": [],
                                  "responseTime": null,
                                  "body": "{\n  \"created_at\": \"<dateTime>\",\n  \"updated_at\": \"<dateTime>\",\n  \"type\": \"<string>\",\n  \"name\": \"<string>\",\n  \"attributes\": {\n    \"inb\": \"<string>\"\n  },\n  \"id\": \"<string>\",\n  \"project\": \"<string>\",\n  \"registered_name\": \"<string>\",\n  \"is_default\": \"<boolean>\"\n}",
                                  "createdAt": "2026-07-28T03:24:08.000Z",
                                  "updatedAt": "2026-07-28T03:24:08.000Z",
                                  "uid": "35240-b4fe76e4-5aed-40fe-8949-539ba52ebbdd"
                                }
                              ],
                              "createdAt": "2026-07-28T03:24:08.000Z",
                              "updatedAt": "2026-07-28T03:24:08.000Z",
                              "uid": "35240-5fff622d-eca5-4ccd-b4ec-382707b4b8ff"
                            },
                            {
                              "name": "Update an environment domain",
                              "id": "56592c73-c451-48fd-84cc-5b78904b383f",
                              "protocolProfileBehavior": {
                                "disableBodyPruning": true
                              },
                              "request": {
                                "method": "PATCH",
                                "header": [
                                  {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                  },
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  }
                                ],
                                "body": {
                                  "mode": "raw",
                                  "raw": "{\n  \"attributes\": {\n    \"dolore6f\": \"<string>\",\n    \"dolore_23\": \"<string>\",\n    \"qui_c\": \"<string>\"\n  },\n  \"is_default\": \"<boolean>\"\n}",
                                  "options": {
                                    "raw": {
                                      "headerFamily": "json",
                                      "language": "json"
                                    }
                                  }
                                },
                                "url": {
                                  "raw": "{{baseUrl}}/projects/:projectId/environments/:environmentId/domains/:domainId",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "projects",
                                    ":projectId",
                                    "environments",
                                    ":environmentId",
                                    "domains",
                                    ":domainId"
                                  ],
                                  "variable": [
                                    {
                                      "id": "688b8f55-4a35-437d-b0ef-f4cd37cb3dbf",
                                      "key": "projectId",
                                      "value": "<string>",
                                      "description": "(Required) "
                                    },
                                    {
                                      "id": "e619d0b4-7324-4a01-b90b-1d508c3aa02a",
                                      "key": "environmentId",
                                      "value": "<string>",
                                      "description": "(Required) "
                                    },
                                    {
                                      "id": "06b797a1-b2e7-4d2c-939c-8c40e9dcfe6d",
                                      "key": "domainId",
                                      "value": "<string>",
                                      "description": "(Required) "
                                    }
                                  ]
                                },
                                "description": "Update the information associated with a single user-specified\ndomain associated with an environment.\n"
                              },
                              "response": [
                                {
                                  "id": "bfe1624c-610b-4cd9-a4a8-1808ff22a967",
                                  "name": "New Response",
                                  "originalRequest": {
                                    "method": "PATCH",
                                    "header": [
                                      {
                                        "key": "Content-Type",
                                        "value": "application/json"
                                      },
                                      {
                                        "key": "Accept",
                                        "value": "application/json"
                                      },
                                      {
                                        "description": "Added as a part of security scheme: oauth2",
                                        "key": "Authorization",
                                        "value": "<token>"
                                      }
                                    ],
                                    "body": {
                                      "mode": "raw",
                                      "raw": "{\n  \"attributes\": {\n    \"dolore6f\": \"<string>\",\n    \"dolore_23\": \"<string>\",\n    \"qui_c\": \"<string>\"\n  },\n  \"is_default\": \"<boolean>\"\n}",
                                      "options": {
                                        "raw": {
                                          "headerFamily": "json",
                                          "language": "json"
                                        }
                                      }
                                    },
                                    "url": {
                                      "raw": "{{baseUrl}}/projects/:projectId/environments/:environmentId/domains/:domainId",
                                      "host": [
                                        "{{baseUrl}}"
                                      ],
                                      "path": [
                                        "projects",
                                        ":projectId",
                                        "environments",
                                        ":environmentId",
                                        "domains",
                                        ":domainId"
                                      ],
                                      "variable": [
                                        {
                                          "key": "projectId"
                                        },
                                        {
                                          "key": "environmentId"
                                        },
                                        {
                                          "key": "domainId"
                                        }
                                      ]
                                    }
                                  },
                                  "status": "Internal Server Error",
                                  "code": 500,
                                  "_postman_previewlanguage": "json",
                                  "header": [
                                    {
                                      "key": "Content-Type",
                                      "value": "application/json"
                                    }
                                  ],
                                  "cookie": [],
                                  "responseTime": null,
                                  "body": "{\n  \"status\": \"<string>\",\n  \"code\": \"<integer>\"\n}",
                                  "createdAt": "2026-07-28T03:24:08.000Z",
                                  "updatedAt": "2026-07-28T03:24:08.000Z",
                                  "uid": "35240-bfe1624c-610b-4cd9-a4a8-1808ff22a967"
                                }
                              ],
                              "createdAt": "2026-07-28T03:24:08.000Z",
                              "updatedAt": "2026-07-28T03:24:08.000Z",
                              "uid": "35240-56592c73-c451-48fd-84cc-5b78904b383f"
                            },
                            {
                              "name": "Delete an environment domain",
                              "id": "bf779159-1acc-4d49-8e1a-9b80cfb0b733",
                              "protocolProfileBehavior": {
                                "disableBodyPruning": true
                              },
                              "request": {
                                "method": "DELETE",
                                "header": [
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/projects/:projectId/environments/:environmentId/domains/:domainId",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "projects",
                                    ":projectId",
                                    "environments",
                                    ":environmentId",
                                    "domains",
                                    ":domainId"
                                  ],
                                  "variable": [
                                    {
                                      "id": "c9f7b992-05ee-49e4-9f57-e0dd26b67dbd",
                                      "key": "projectId",
                                      "value": "<string>",
                                      "description": "(Required) "
                                    },
                                    {
                                      "id": "4e3b0809-5224-4b0f-9ecd-20e5c7a08b80",
                                      "key": "environmentId",
                                      "value": "<string>",
                                      "description": "(Required) "
                                    },
                                    {
                                      "id": "a44d4034-f6ff-4cfe-b73f-0debc5c358b7",
                                      "key": "domainId",
                                      "value": "<string>",
                                      "description": "(Required) "
                                    }
                                  ]
                                },
                                "description": "Delete a single user-specified domain associated with an environment.\n"
                              },
                              "response": [
                                {
                                  "id": "cca9b9d8-3f7a-4429-aa4f-a370f36c8ab2",
                                  "name": "New Response",
                                  "originalRequest": {
                                    "method": "DELETE",
                                    "header": [
                                      {
                                        "key": "Accept",
                                        "value": "application/json"
                                      },
                                      {
                                        "description": "Added as a part of security scheme: oauth2",
                                        "key": "Authorization",
                                        "value": "<token>"
                                      }
                                    ],
                                    "url": {
                                      "raw": "{{baseUrl}}/projects/:projectId/environments/:environmentId/domains/:domainId",
                                      "host": [
                                        "{{baseUrl}}"
                                      ],
                                      "path": [
                                        "projects",
                                        ":projectId",
                                        "environments",
                                        ":environmentId",
                                        "domains",
                                        ":domainId"
                                      ],
                                      "variable": [
                                        {
                                          "key": "projectId"
                                        },
                                        {
                                          "key": "environmentId"
                                        },
                                        {
                                          "key": "domainId"
                                        }
                                      ]
                                    }
                                  },
                                  "status": "Internal Server Error",
                                  "code": 500,
                                  "_postman_previewlanguage": "json",
                                  "header": [
                                    {
                                      "key": "Content-Type",
                                      "value": "application/json"
                                    }
                                  ],
                                  "cookie": [],
                                  "responseTime": null,
                                  "body": "{\n  \"status\": \"<string>\",\n  \"code\": \"<integer>\"\n}",
                                  "createdAt": "2026-07-28T03:24:08.000Z",
                                  "updatedAt": "2026-07-28T03:24:08.000Z",
                                  "uid": "35240-cca9b9d8-3f7a-4429-aa4f-a370f36c8ab2"
                                }
                              ],
                              "createdAt": "2026-07-28T03:24:08.000Z",
                              "updatedAt": "2026-07-28T03:24:08.000Z",
                              "uid": "35240-bf779159-1acc-4d49-8e1a-9b80cfb0b733"
                            }
                          ],
                          "id": "d5e26b8d-f582-4366-a872-d2d8b3bff80f",
                          "createdAt": "2026-07-28T03:24:08.000Z",
                          "updatedAt": "2026-07-28T03:24:08.000Z",
                          "uid": "35240-d5e26b8d-f582-4366-a872-d2d8b3bff80f"
                        },
                        {
                          "name": "Get a list of environment domains",
                          "id": "ae1a4851-c16c-458e-8fb7-d2256e572f84",
                          "protocolProfileBehavior": {
                            "disableBodyPruning": true
                          },
                          "request": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/projects/:projectId/environments/:environmentId/domains",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "projects",
                                ":projectId",
                                "environments",
                                ":environmentId",
                                "domains"
                              ],
                              "variable": [
                                {
                                  "id": "744c5f1b-af55-4587-987c-6492f5246995",
                                  "key": "projectId",
                                  "value": "<string>",
                                  "description": "(Required) "
                                },
                                {
                                  "id": "517b762d-8cf5-49a0-a0d5-0dd2460a3847",
                                  "key": "environmentId",
                                  "value": "<string>",
                                  "description": "(Required) "
                                }
                              ]
                            },
                            "description": "Retrieve a list of objects representing the user-specified domains\nassociated with an environment. Note that this does *not* return the\n`.platformsh.site` subdomains, which are automatically assigned to\nthe environment.\n"
                          },
                          "response": [
                            {
                              "id": "38108624-f7d5-47ba-9ad8-0e525d9a2f42",
                              "name": "New Response",
                              "originalRequest": {
                                "method": "GET",
                                "header": [
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: oauth2",
                                    "key": "Authorization",
                                    "value": "<token>"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/projects/:projectId/environments/:environmentId/domains",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "projects",
                                    ":projectId",
                                    "environments",
                                    ":environmentId",
                                    "domains"
                                  ],
                                  "variable": [
                                    {
                                      "key": "projectId"
                                    },
                                    {
                                      "key": "environmentId"
                                    }
                                  ]
                                }
                              },
                              "status": "Internal Server Error",
                              "code": 500,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "[\n  {\n    \"created_at\": \"<dateTime>\",\n    \"updated_at\": \"<dateTime>\",\n    \"type\": \"<string>\",\n    \"name\": \"<string>\",\n    \"attributes\": {\n      \"Duis_\": \"<string>\"\n    },\n    \"id\": \"<string>\",\n    \"project\": \"<string>\",\n    \"registered_name\": \"<string>\",\n    \"is_default\": \"<boolean>\"\n  },\n  {\n    \"created_at\": \"<dateTime>\",\n    \"updated_at\": \"<dateTime>\",\n    \"type\": \"<string>\",\n    \"name\": \"<string>\",\n    \"attributes\": {\n      \"pariatur8cd\": \"<string>\"\n    },\n    \"id\": \"<string>\",\n    \"project\": \"<string>\",\n    \"registered_name\": \"<string>\",\n    \"is_default\": \"<boolean>\"\n  }\n]",
                              "createdAt": "2026-07-28T03:24:08.000Z",
                              "updatedAt": "2026-07-28T03:24:08.000Z",
                              "uid": "35240-38108624-f7d5-47ba-9ad8-0e525d9a2f42"
                            }
                          ],
                          "createdAt": "2026-07-28T03:24:08.000Z",
                          "updatedAt": "2026-07-28T03:24:08.000Z",
                          "uid": "35240-ae1a4851-c16c-458e-8fb7-d2256e572f84"
                        },
                        {
                          "name": "Add an environment domain",
                          "id": "19798983-7d66-41c2-b524-03540e30d3ef",
                          "protocolProfileBehavior": {
                            "disableBodyPruning": true
                          },
                          "request": {
                            "method": "POST",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"name\": \"<string>\",\n  \"attributes\": {\n    \"utd9b\": \"<string>\",\n    \"quis_8f\": \"<string>\"\n  },\n  \"is_default\": \"<boolean>\"\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/projects/:projectId/environments/:environmentId/domains",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "projects",
                                ":projectId",
                                "environments",
                                ":environmentId",
                                "domains"
                              ],
                              "variable": [
                                {
                                  "id": "ade28584-14ca-4a87-8371-1d7006a33587",
                                  "key": "projectId",
                                  "value": "<string>",
                                  "description": "(Required) "
                                },
                                {
                                  "id": "d2595d1d-a6a9-4f42-9ae6-39c167632272",
                                  "key": "environmentId",
                                  "value": "<string>",
                                  "description": "(Required) "
                                }
                              ]
                            },
                            "description": "Add a single domain to an environment.\nIf the environment is not production, the `replacement_for` field\nis required, which binds a new domain to an existing one from a\nproduction environment.\nIf the `ssl` field is left blank without an object containing\na PEM-encoded SSL certificate, a certificate will\n[be provisioned for you via Let's Encrypt](https://docs.upsun.com/anchors/routes/https/certificates/).\n"
                          },
                          "response": [
                            {
                              "id": "426b2e03-2d86-49a7-83a8-8d6bfd8f50ab",
                              "name": "New Response",
                              "originalRequest": {
                                "method": "POST",
                                "header": [
                                  {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                  },
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: oauth2",
                                    "key": "Authorization",
                                    "value": "<token>"
                                  }
                                ],
                                "body": {
                                  "mode": "raw",
                                  "raw": "{\n  \"name\": \"<string>\",\n  \"attributes\": {\n    \"utd9b\": \"<string>\",\n    \"quis_8f\": \"<string>\"\n  },\n  \"is_default\": \"<boolean>\"\n}",
                                  "options": {
                                    "raw": {
                                      "headerFamily": "json",
                                      "language": "json"
                                    }
                                  }
                                },
                                "url": {
                                  "raw": "{{baseUrl}}/projects/:projectId/environments/:environmentId/domains",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "projects",
                                    ":projectId",
                                    "environments",
                                    ":environmentId",
                                    "domains"
                                  ],
                                  "variable": [
                                    {
                                      "key": "projectId"
                                    },
                                    {
                                      "key": "environmentId"
                                    }
                                  ]
                                }
                              },
                              "status": "Internal Server Error",
                              "code": 500,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"status\": \"<string>\",\n  \"code\": \"<integer>\"\n}",
                              "createdAt": "2026-07-28T03:24:08.000Z",
                              "updatedAt": "2026-07-28T03:24:08.000Z",
                              "uid": "35240-426b2e03-2d86-49a7-83a8-8d6bfd8f50ab"
                            }
                          ],
                          "createdAt": "2026-07-28T03:24:08.000Z",
                          "updatedAt": "2026-07-28T03:24:08.000Z",
                          "uid": "35240-19798983-7d66-41c2-b524-03540e30d3ef"
                        }
                      ],
                      "id": "cc040f05-04d9-4ae4-a94f-be7360b9531e",
                      "createdAt": "2026-07-28T03:24:08.000Z",
                      "updatedAt": "2026-07-28T03:24:08.000Z",
                      "uid": "35240-cc040f05-04d9-4ae4-a94f-be7360b9531e"
                    }
                  ],
                  "id": "5a147d65-c8e9-46ee-8ad8-8382146fa736",
                  "createdAt": "2026-07-28T03:24:08.000Z",
                  "updatedAt": "2026-07-28T03:24:08.000Z",
                  "uid": "35240-5a147d65-c8e9-46ee-8ad8-8382146fa736"
                }
              ],
              "id": "1a5a89d4-407c-451d-b770-53301680bfc3",
              "createdAt": "2026-07-28T03:24:08.000Z",
              "updatedAt": "2026-07-28T03:24:08.000Z",
              "uid": "35240-1a5a89d4-407c-451d-b770-53301680bfc3"
            }
          ],
          "id": "dda73588-e768-4223-bcd3-d5e1067f76b0",
          "createdAt": "2026-07-28T03:24:08.000Z",
          "updatedAt": "2026-07-28T03:24:08.000Z",
          "uid": "35240-dda73588-e768-4223-bcd3-d5e1067f76b0"
        }
      ],
      "id": "54f677c3-326d-4052-81b4-647d93427639",
      "createdAt": "2026-07-28T03:24:08.000Z",
      "updatedAt": "2026-07-28T03:24:08.000Z",
      "uid": "35240-54f677c3-326d-4052-81b4-647d93427639"
    }
  ],
  "auth": {
    "type": "oauth2",
    "oauth2": [
      {
        "key": "redirect_uri",
        "value": "https://auth.api.platform.sh/oauth2/token",
        "type": "string"
      },
      {
        "key": "accessTokenUrl",
        "value": "https://auth.api.platform.sh/oauth2/token",
        "type": "string"
      },
      {
        "key": "authUrl",
        "value": "https://auth.api.platform.sh/oauth2/authorize",
        "type": "string"
      },
      {
        "key": "grant_type",
        "value": "authorization_code",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "schemes",
      "value": "https"
    },
    {
      "key": "baseUrl",
      "value": "{{schemes}}://api.upsun.com"
    }
  ]
}