{
  "info": {
    "_postman_id": "8a3f2795-f303-4bbb-83bd-facd5b1680bf",
    "name": "Kong Enterprise Admin ACLs Portal Custom Domains API",
    "description": "OpenAPI 3.0 spec for Kong Gateway's Admin API.\n\nYou can learn more about Kong Gateway at [developer.konghq.com](https://developer.konghq.com).\nGive Kong a star at the [Kong/kong](https://github.com/kong/kong) repository.\n\nContact Support:\n Name: Kong Inc\n Email: support@konghq.com",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T02:04:57.000Z",
    "updatedAt": "2026-07-28T02:04:57.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-8a3f2795-f303-4bbb-83bd-facd5b1680bf"
  },
  "item": [
    {
      "name": "v3",
      "item": [
        {
          "name": "portals",
          "item": [
            {
              "name": "{portalId}",
              "item": [
                {
                  "name": "custom-domain",
                  "item": [
                    {
                      "name": "Get Custom Domain",
                      "id": "96a0a33a-c75b-4233-ac92-826d37545189",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/v3/portals/:portalId/custom-domain",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "v3",
                            "portals",
                            ":portalId",
                            "custom-domain"
                          ],
                          "variable": [
                            {
                              "id": "120f4870-8b84-4972-9c16-00894d742da2",
                              "key": "portalId",
                              "value": "<uuid>",
                              "description": "(Required) ID of the portal."
                            }
                          ]
                        },
                        "description": "Get the custom domain associated to the portal."
                      },
                      "response": [
                        {
                          "id": "897ef613-5e69-40e1-afb9-25a3c3df9c3f",
                          "name": "Portal custom domain",
                          "originalRequest": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: apikey",
                                "key": "Kong-Admin-Token",
                                "value": "<API Key>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/v3/portals/:portalId/custom-domain",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v3",
                                "portals",
                                ":portalId",
                                "custom-domain"
                              ],
                              "variable": [
                                {
                                  "key": "portalId"
                                }
                              ]
                            }
                          },
                          "status": "OK",
                          "code": 200,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"hostname\": \"<string>\",\n  \"enabled\": \"<boolean>\",\n  \"ssl\": {\n    \"domain_verification_method\": \"custom_certificate\",\n    \"verification_status\": \"pending\",\n    \"validation_errors\": [\n      \"<string>\",\n      \"<string>\"\n    ],\n    \"uploaded_at\": \"<dateTime>\",\n    \"expires_at\": \"<dateTime>\",\n    \"skip_ca_check\": \"<boolean>\"\n  },\n  \"cname_status\": \"pending\",\n  \"created_at\": \"<dateTime>\",\n  \"updated_at\": \"<dateTime>\"\n}",
                          "createdAt": "2026-07-28T02:04:57.000Z",
                          "updatedAt": "2026-07-28T02:04:57.000Z",
                          "uid": "35240-897ef613-5e69-40e1-afb9-25a3c3df9c3f"
                        },
                        {
                          "id": "fcb306c3-449d-4382-8a81-914a284f6e67",
                          "name": "Unauthorized",
                          "originalRequest": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/problem+json"
                              },
                              {
                                "description": "Added as a part of security scheme: apikey",
                                "key": "Kong-Admin-Token",
                                "value": "<API Key>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/v3/portals/:portalId/custom-domain",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v3",
                                "portals",
                                ":portalId",
                                "custom-domain"
                              ],
                              "variable": [
                                {
                                  "key": "portalId"
                                }
                              ]
                            }
                          },
                          "status": "Unauthorized",
                          "code": 401,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/problem+json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"status\": \"<integer>\",\n  \"title\": \"<string>\",\n  \"instance\": \"<string>\",\n  \"detail\": \"<string>\",\n  \"type\": \"<string>\"\n}",
                          "createdAt": "2026-07-28T02:04:57.000Z",
                          "updatedAt": "2026-07-28T02:04:57.000Z",
                          "uid": "35240-fcb306c3-449d-4382-8a81-914a284f6e67"
                        },
                        {
                          "id": "2a48bbb8-208b-4c33-b6de-d1a49b57c8a4",
                          "name": "Forbidden",
                          "originalRequest": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/problem+json"
                              },
                              {
                                "description": "Added as a part of security scheme: apikey",
                                "key": "Kong-Admin-Token",
                                "value": "<API Key>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/v3/portals/:portalId/custom-domain",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v3",
                                "portals",
                                ":portalId",
                                "custom-domain"
                              ],
                              "variable": [
                                {
                                  "key": "portalId"
                                }
                              ]
                            }
                          },
                          "status": "Forbidden",
                          "code": 403,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/problem+json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"status\": \"<integer>\",\n  \"title\": \"<string>\",\n  \"instance\": \"<string>\",\n  \"detail\": \"<string>\",\n  \"type\": \"<string>\"\n}",
                          "createdAt": "2026-07-28T02:04:57.000Z",
                          "updatedAt": "2026-07-28T02:04:57.000Z",
                          "uid": "35240-2a48bbb8-208b-4c33-b6de-d1a49b57c8a4"
                        },
                        {
                          "id": "1cb03ac7-710d-4a13-ba1a-0230b06ce8cc",
                          "name": "Not Found",
                          "originalRequest": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/problem+json"
                              },
                              {
                                "description": "Added as a part of security scheme: apikey",
                                "key": "Kong-Admin-Token",
                                "value": "<API Key>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/v3/portals/:portalId/custom-domain",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v3",
                                "portals",
                                ":portalId",
                                "custom-domain"
                              ],
                              "variable": [
                                {
                                  "key": "portalId"
                                }
                              ]
                            }
                          },
                          "status": "Not Found",
                          "code": 404,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/problem+json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"status\": \"<integer>\",\n  \"title\": \"<string>\",\n  \"instance\": \"<string>\",\n  \"detail\": \"<string>\",\n  \"type\": \"<string>\"\n}",
                          "createdAt": "2026-07-28T02:04:57.000Z",
                          "updatedAt": "2026-07-28T02:04:57.000Z",
                          "uid": "35240-1cb03ac7-710d-4a13-ba1a-0230b06ce8cc"
                        }
                      ],
                      "createdAt": "2026-07-28T02:04:57.000Z",
                      "updatedAt": "2026-07-28T02:04:57.000Z",
                      "uid": "35240-96a0a33a-c75b-4233-ac92-826d37545189"
                    },
                    {
                      "name": "Create Custom Domain",
                      "id": "77e272e3-a031-4621-962a-9d274caccc22",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"hostname\": \"<string>\",\n  \"enabled\": \"<boolean>\",\n  \"ssl\": {\n    \"domain_verification_method\": \"<string>\",\n    \"custom_certificate\": \"<string>\",\n    \"custom_private_key\": \"<string>\",\n    \"skip_ca_check\": false\n  }\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/v3/portals/:portalId/custom-domain",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "v3",
                            "portals",
                            ":portalId",
                            "custom-domain"
                          ],
                          "variable": [
                            {
                              "id": "09f78a6f-fc49-4b5a-a452-9b8d84c2e0e0",
                              "key": "portalId",
                              "value": "<uuid>",
                              "description": "(Required) ID of the portal."
                            }
                          ]
                        },
                        "description": "Creates the custom domain associated with the portal. Only one custom domain can be associated with a portal at a time."
                      },
                      "response": [
                        {
                          "id": "2a68de71-15df-4386-9f7c-67d943f7171a",
                          "name": "Portal custom domain",
                          "originalRequest": {
                            "method": "POST",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: apikey",
                                "key": "Kong-Admin-Token",
                                "value": "<API Key>"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"hostname\": \"<string>\",\n  \"enabled\": \"<boolean>\",\n  \"ssl\": {\n    \"domain_verification_method\": \"<string>\",\n    \"custom_certificate\": \"<string>\",\n    \"custom_private_key\": \"<string>\",\n    \"skip_ca_check\": false\n  }\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/v3/portals/:portalId/custom-domain",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v3",
                                "portals",
                                ":portalId",
                                "custom-domain"
                              ],
                              "variable": [
                                {
                                  "key": "portalId"
                                }
                              ]
                            }
                          },
                          "status": "Created",
                          "code": 201,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"hostname\": \"<string>\",\n  \"enabled\": \"<boolean>\",\n  \"ssl\": {\n    \"domain_verification_method\": \"custom_certificate\",\n    \"verification_status\": \"pending\",\n    \"validation_errors\": [\n      \"<string>\",\n      \"<string>\"\n    ],\n    \"uploaded_at\": \"<dateTime>\",\n    \"expires_at\": \"<dateTime>\",\n    \"skip_ca_check\": \"<boolean>\"\n  },\n  \"cname_status\": \"pending\",\n  \"created_at\": \"<dateTime>\",\n  \"updated_at\": \"<dateTime>\"\n}",
                          "createdAt": "2026-07-28T02:04:57.000Z",
                          "updatedAt": "2026-07-28T02:04:57.000Z",
                          "uid": "35240-2a68de71-15df-4386-9f7c-67d943f7171a"
                        },
                        {
                          "id": "38dc516f-0440-4a8d-b2fd-8dd8454702c5",
                          "name": "Bad Request",
                          "originalRequest": {
                            "method": "POST",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "application/problem+json"
                              },
                              {
                                "description": "Added as a part of security scheme: apikey",
                                "key": "Kong-Admin-Token",
                                "value": "<API Key>"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"hostname\": \"<string>\",\n  \"enabled\": \"<boolean>\",\n  \"ssl\": {\n    \"domain_verification_method\": \"<string>\",\n    \"custom_certificate\": \"<string>\",\n    \"custom_private_key\": \"<string>\",\n    \"skip_ca_check\": false\n  }\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/v3/portals/:portalId/custom-domain",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v3",
                                "portals",
                                ":portalId",
                                "custom-domain"
                              ],
                              "variable": [
                                {
                                  "key": "portalId"
                                }
                              ]
                            }
                          },
                          "status": "Bad Request",
                          "code": 400,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/problem+json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"detail\": \"<string>\",\n  \"instance\": \"<string>\",\n  \"invalid_parameters\": [\n    {\n      \"field\": \"<string>\",\n      \"reason\": \"<string>\",\n      \"rule\": \"is_base64\",\n      \"source\": \"<string>\"\n    }\n  ],\n  \"status\": \"<integer>\",\n  \"title\": \"<string>\",\n  \"type\": \"<string>\"\n}",
                          "createdAt": "2026-07-28T02:04:57.000Z",
                          "updatedAt": "2026-07-28T02:04:57.000Z",
                          "uid": "35240-38dc516f-0440-4a8d-b2fd-8dd8454702c5"
                        },
                        {
                          "id": "97db50eb-9c08-4796-9b8c-447bb64409ca",
                          "name": "Unauthorized",
                          "originalRequest": {
                            "method": "POST",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "application/problem+json"
                              },
                              {
                                "description": "Added as a part of security scheme: apikey",
                                "key": "Kong-Admin-Token",
                                "value": "<API Key>"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"hostname\": \"<string>\",\n  \"enabled\": \"<boolean>\",\n  \"ssl\": {\n    \"domain_verification_method\": \"<string>\",\n    \"custom_certificate\": \"<string>\",\n    \"custom_private_key\": \"<string>\",\n    \"skip_ca_check\": false\n  }\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/v3/portals/:portalId/custom-domain",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v3",
                                "portals",
                                ":portalId",
                                "custom-domain"
                              ],
                              "variable": [
                                {
                                  "key": "portalId"
                                }
                              ]
                            }
                          },
                          "status": "Unauthorized",
                          "code": 401,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/problem+json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"status\": \"<integer>\",\n  \"title\": \"<string>\",\n  \"instance\": \"<string>\",\n  \"detail\": \"<string>\",\n  \"type\": \"<string>\"\n}",
                          "createdAt": "2026-07-28T02:04:57.000Z",
                          "updatedAt": "2026-07-28T02:04:57.000Z",
                          "uid": "35240-97db50eb-9c08-4796-9b8c-447bb64409ca"
                        },
                        {
                          "id": "e9dbd081-661b-4066-ad9a-2aff6d3a4e28",
                          "name": "Forbidden",
                          "originalRequest": {
                            "method": "POST",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "application/problem+json"
                              },
                              {
                                "description": "Added as a part of security scheme: apikey",
                                "key": "Kong-Admin-Token",
                                "value": "<API Key>"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"hostname\": \"<string>\",\n  \"enabled\": \"<boolean>\",\n  \"ssl\": {\n    \"domain_verification_method\": \"<string>\",\n    \"custom_certificate\": \"<string>\",\n    \"custom_private_key\": \"<string>\",\n    \"skip_ca_check\": false\n  }\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/v3/portals/:portalId/custom-domain",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v3",
                                "portals",
                                ":portalId",
                                "custom-domain"
                              ],
                              "variable": [
                                {
                                  "key": "portalId"
                                }
                              ]
                            }
                          },
                          "status": "Forbidden",
                          "code": 403,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/problem+json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"status\": \"<integer>\",\n  \"title\": \"<string>\",\n  \"instance\": \"<string>\",\n  \"detail\": \"<string>\",\n  \"type\": \"<string>\"\n}",
                          "createdAt": "2026-07-28T02:04:57.000Z",
                          "updatedAt": "2026-07-28T02:04:57.000Z",
                          "uid": "35240-e9dbd081-661b-4066-ad9a-2aff6d3a4e28"
                        },
                        {
                          "id": "0c075f56-06d8-459c-ab61-6bc1224d0d61",
                          "name": "Not Found",
                          "originalRequest": {
                            "method": "POST",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "application/problem+json"
                              },
                              {
                                "description": "Added as a part of security scheme: apikey",
                                "key": "Kong-Admin-Token",
                                "value": "<API Key>"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"hostname\": \"<string>\",\n  \"enabled\": \"<boolean>\",\n  \"ssl\": {\n    \"domain_verification_method\": \"<string>\",\n    \"custom_certificate\": \"<string>\",\n    \"custom_private_key\": \"<string>\",\n    \"skip_ca_check\": false\n  }\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/v3/portals/:portalId/custom-domain",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v3",
                                "portals",
                                ":portalId",
                                "custom-domain"
                              ],
                              "variable": [
                                {
                                  "key": "portalId"
                                }
                              ]
                            }
                          },
                          "status": "Not Found",
                          "code": 404,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/problem+json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"status\": \"<integer>\",\n  \"title\": \"<string>\",\n  \"instance\": \"<string>\",\n  \"detail\": \"<string>\",\n  \"type\": \"<string>\"\n}",
                          "createdAt": "2026-07-28T02:04:57.000Z",
                          "updatedAt": "2026-07-28T02:04:57.000Z",
                          "uid": "35240-0c075f56-06d8-459c-ab61-6bc1224d0d61"
                        }
                      ],
                      "createdAt": "2026-07-28T02:04:57.000Z",
                      "updatedAt": "2026-07-28T02:04:57.000Z",
                      "uid": "35240-77e272e3-a031-4621-962a-9d274caccc22"
                    },
                    {
                      "name": "Enable or Disable Domain",
                      "id": "aae334bc-1406-4d6e-856c-8890c5b9e557",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "method": "PATCH",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"enabled\": \"<boolean>\",\n  \"ssl\": {\n    \"custom_certificate\": \"<string>\",\n    \"custom_private_key\": \"<string>\",\n    \"skip_ca_check\": false\n  }\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/v3/portals/:portalId/custom-domain",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "v3",
                            "portals",
                            ":portalId",
                            "custom-domain"
                          ],
                          "variable": [
                            {
                              "id": "1b88846f-8aac-42c6-8f04-c47220a7ba52",
                              "key": "portalId",
                              "value": "<uuid>",
                              "description": "(Required) ID of the portal."
                            }
                          ]
                        },
                        "description": "Updates the portal domain associated with the portal."
                      },
                      "response": [
                        {
                          "id": "d15b0355-a606-484c-a217-65894eb25937",
                          "name": "Portal custom domain",
                          "originalRequest": {
                            "method": "PATCH",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: apikey",
                                "key": "Kong-Admin-Token",
                                "value": "<API Key>"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"enabled\": \"<boolean>\",\n  \"ssl\": {\n    \"custom_certificate\": \"<string>\",\n    \"custom_private_key\": \"<string>\",\n    \"skip_ca_check\": false\n  }\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/v3/portals/:portalId/custom-domain",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v3",
                                "portals",
                                ":portalId",
                                "custom-domain"
                              ],
                              "variable": [
                                {
                                  "key": "portalId"
                                }
                              ]
                            }
                          },
                          "status": "OK",
                          "code": 200,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"hostname\": \"<string>\",\n  \"enabled\": \"<boolean>\",\n  \"ssl\": {\n    \"domain_verification_method\": \"custom_certificate\",\n    \"verification_status\": \"pending\",\n    \"validation_errors\": [\n      \"<string>\",\n      \"<string>\"\n    ],\n    \"uploaded_at\": \"<dateTime>\",\n    \"expires_at\": \"<dateTime>\",\n    \"skip_ca_check\": \"<boolean>\"\n  },\n  \"cname_status\": \"pending\",\n  \"created_at\": \"<dateTime>\",\n  \"updated_at\": \"<dateTime>\"\n}",
                          "createdAt": "2026-07-28T02:04:57.000Z",
                          "updatedAt": "2026-07-28T02:04:57.000Z",
                          "uid": "35240-d15b0355-a606-484c-a217-65894eb25937"
                        },
                        {
                          "id": "6ba1efcf-1579-4727-922c-f3500e98654b",
                          "name": "Bad Request",
                          "originalRequest": {
                            "method": "PATCH",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "application/problem+json"
                              },
                              {
                                "description": "Added as a part of security scheme: apikey",
                                "key": "Kong-Admin-Token",
                                "value": "<API Key>"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"enabled\": \"<boolean>\",\n  \"ssl\": {\n    \"custom_certificate\": \"<string>\",\n    \"custom_private_key\": \"<string>\",\n    \"skip_ca_check\": false\n  }\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/v3/portals/:portalId/custom-domain",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v3",
                                "portals",
                                ":portalId",
                                "custom-domain"
                              ],
                              "variable": [
                                {
                                  "key": "portalId"
                                }
                              ]
                            }
                          },
                          "status": "Bad Request",
                          "code": 400,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/problem+json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"detail\": \"<string>\",\n  \"instance\": \"<string>\",\n  \"invalid_parameters\": [\n    {\n      \"field\": \"<string>\",\n      \"reason\": \"<string>\",\n      \"rule\": \"is_base64\",\n      \"source\": \"<string>\"\n    }\n  ],\n  \"status\": \"<integer>\",\n  \"title\": \"<string>\",\n  \"type\": \"<string>\"\n}",
                          "createdAt": "2026-07-28T02:04:57.000Z",
                          "updatedAt": "2026-07-28T02:04:57.000Z",
                          "uid": "35240-6ba1efcf-1579-4727-922c-f3500e98654b"
                        },
                        {
                          "id": "63fa037f-21d6-4363-b4ef-fbfbb5e98b3d",
                          "name": "Unauthorized",
                          "originalRequest": {
                            "method": "PATCH",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "application/problem+json"
                              },
                              {
                                "description": "Added as a part of security scheme: apikey",
                                "key": "Kong-Admin-Token",
                                "value": "<API Key>"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"enabled\": \"<boolean>\",\n  \"ssl\": {\n    \"custom_certificate\": \"<string>\",\n    \"custom_private_key\": \"<string>\",\n    \"skip_ca_check\": false\n  }\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/v3/portals/:portalId/custom-domain",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v3",
                                "portals",
                                ":portalId",
                                "custom-domain"
                              ],
                              "variable": [
                                {
                                  "key": "portalId"
                                }
                              ]
                            }
                          },
                          "status": "Unauthorized",
                          "code": 401,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/problem+json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"status\": \"<integer>\",\n  \"title\": \"<string>\",\n  \"instance\": \"<string>\",\n  \"detail\": \"<string>\",\n  \"type\": \"<string>\"\n}",
                          "createdAt": "2026-07-28T02:04:57.000Z",
                          "updatedAt": "2026-07-28T02:04:57.000Z",
                          "uid": "35240-63fa037f-21d6-4363-b4ef-fbfbb5e98b3d"
                        },
                        {
                          "id": "feba6c51-e415-40aa-b8dd-2ca96057126d",
                          "name": "Forbidden",
                          "originalRequest": {
                            "method": "PATCH",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "application/problem+json"
                              },
                              {
                                "description": "Added as a part of security scheme: apikey",
                                "key": "Kong-Admin-Token",
                                "value": "<API Key>"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"enabled\": \"<boolean>\",\n  \"ssl\": {\n    \"custom_certificate\": \"<string>\",\n    \"custom_private_key\": \"<string>\",\n    \"skip_ca_check\": false\n  }\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/v3/portals/:portalId/custom-domain",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v3",
                                "portals",
                                ":portalId",
                                "custom-domain"
                              ],
                              "variable": [
                                {
                                  "key": "portalId"
                                }
                              ]
                            }
                          },
                          "status": "Forbidden",
                          "code": 403,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/problem+json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"status\": \"<integer>\",\n  \"title\": \"<string>\",\n  \"instance\": \"<string>\",\n  \"detail\": \"<string>\",\n  \"type\": \"<string>\"\n}",
                          "createdAt": "2026-07-28T02:04:57.000Z",
                          "updatedAt": "2026-07-28T02:04:57.000Z",
                          "uid": "35240-feba6c51-e415-40aa-b8dd-2ca96057126d"
                        }
                      ],
                      "createdAt": "2026-07-28T02:04:57.000Z",
                      "updatedAt": "2026-07-28T02:04:57.000Z",
                      "uid": "35240-aae334bc-1406-4d6e-856c-8890c5b9e557"
                    },
                    {
                      "name": "Remove Domain",
                      "id": "9058b115-239e-4252-b77f-607bd35daccb",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "method": "DELETE",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/problem+json"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/v3/portals/:portalId/custom-domain",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "v3",
                            "portals",
                            ":portalId",
                            "custom-domain"
                          ],
                          "variable": [
                            {
                              "id": "e79220e5-fe0b-4a32-be79-0ea57495e53b",
                              "key": "portalId",
                              "value": "<uuid>",
                              "description": "(Required) ID of the portal."
                            }
                          ]
                        },
                        "description": "Deletes the custom domain associated with the portal."
                      },
                      "response": [
                        {
                          "id": "5ed2cc6a-d9f3-4b85-930c-ad88674ca2e3",
                          "name": "No Content",
                          "originalRequest": {
                            "method": "DELETE",
                            "header": [
                              {
                                "description": "Added as a part of security scheme: apikey",
                                "key": "Kong-Admin-Token",
                                "value": "<API Key>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/v3/portals/:portalId/custom-domain",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v3",
                                "portals",
                                ":portalId",
                                "custom-domain"
                              ],
                              "variable": [
                                {
                                  "key": "portalId"
                                }
                              ]
                            }
                          },
                          "status": "No Content",
                          "code": 204,
                          "_postman_previewlanguage": "text",
                          "header": [],
                          "cookie": [],
                          "responseTime": null,
                          "body": null,
                          "createdAt": "2026-07-28T02:04:57.000Z",
                          "updatedAt": "2026-07-28T02:04:57.000Z",
                          "uid": "35240-5ed2cc6a-d9f3-4b85-930c-ad88674ca2e3"
                        },
                        {
                          "id": "146f3e5d-a4da-4ad8-9b7b-15419108c6a7",
                          "name": "Not Found",
                          "originalRequest": {
                            "method": "DELETE",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/problem+json"
                              },
                              {
                                "description": "Added as a part of security scheme: apikey",
                                "key": "Kong-Admin-Token",
                                "value": "<API Key>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/v3/portals/:portalId/custom-domain",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v3",
                                "portals",
                                ":portalId",
                                "custom-domain"
                              ],
                              "variable": [
                                {
                                  "key": "portalId"
                                }
                              ]
                            }
                          },
                          "status": "Not Found",
                          "code": 404,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/problem+json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"status\": \"<integer>\",\n  \"title\": \"<string>\",\n  \"instance\": \"<string>\",\n  \"detail\": \"<string>\",\n  \"type\": \"<string>\"\n}",
                          "createdAt": "2026-07-28T02:04:57.000Z",
                          "updatedAt": "2026-07-28T02:04:57.000Z",
                          "uid": "35240-146f3e5d-a4da-4ad8-9b7b-15419108c6a7"
                        }
                      ],
                      "createdAt": "2026-07-28T02:04:57.000Z",
                      "updatedAt": "2026-07-28T02:04:57.000Z",
                      "uid": "35240-9058b115-239e-4252-b77f-607bd35daccb"
                    }
                  ],
                  "id": "590c1059-72fe-41ea-98c3-8486984e47de",
                  "createdAt": "2026-07-28T02:04:57.000Z",
                  "updatedAt": "2026-07-28T02:04:57.000Z",
                  "uid": "35240-590c1059-72fe-41ea-98c3-8486984e47de"
                }
              ],
              "id": "fe5cc370-dc96-4957-bb32-ecd3c86b0797",
              "createdAt": "2026-07-28T02:04:57.000Z",
              "updatedAt": "2026-07-28T02:04:57.000Z",
              "uid": "35240-fe5cc370-dc96-4957-bb32-ecd3c86b0797"
            }
          ],
          "id": "591cf88f-6521-42bc-88c2-224ce4f8bdd3",
          "createdAt": "2026-07-28T02:04:57.000Z",
          "updatedAt": "2026-07-28T02:04:57.000Z",
          "uid": "35240-591cf88f-6521-42bc-88c2-224ce4f8bdd3"
        }
      ],
      "id": "7b2a4648-3f27-4457-8c2f-1618735ec389",
      "createdAt": "2026-07-28T02:04:57.000Z",
      "updatedAt": "2026-07-28T02:04:57.000Z",
      "uid": "35240-7b2a4648-3f27-4457-8c2f-1618735ec389"
    }
  ],
  "auth": {
    "type": "apikey",
    "apikey": [
      {
        "key": "key",
        "value": "Kong-Admin-Token",
        "type": "string"
      },
      {
        "key": "value",
        "value": "{{apiKey}}",
        "type": "string"
      },
      {
        "key": "in",
        "value": "header",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "hostname",
      "value": "localhost"
    },
    {
      "key": "path",
      "value": "/"
    },
    {
      "key": "port",
      "value": "8001"
    },
    {
      "key": "protocol",
      "value": "http"
    },
    {
      "key": "baseUrl",
      "value": "{{protocol}}://{{hostname}}:{{port}}{{path}}"
    }
  ]
}