{
  "opencollection": "1.0.0",
  "info": {
    "name": "Kong Enterprise Admin ACLs Portal Custom Domains API",
    "version": "3.14.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Kong-Admin-Token",
      "value": "{{Kong-Admin-Token}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Portal Custom Domains",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Custom Domain",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{protocol}://{hostname}:{port}{path}/v3/portals/:portalId/custom-domain",
            "params": [
              {
                "name": "portalId",
                "value": "",
                "type": "path",
                "description": "ID of the portal."
              }
            ]
          },
          "docs": "Get the custom domain associated to the portal."
        },
        {
          "info": {
            "name": "Create Custom Domain",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{protocol}://{hostname}:{port}{path}/v3/portals/:portalId/custom-domain",
            "params": [
              {
                "name": "portalId",
                "value": "",
                "type": "path",
                "description": "ID of the portal."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates the custom domain associated with the portal. Only one custom domain can be associated with a portal at a time."
        },
        {
          "info": {
            "name": "Enable or Disable Domain",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{protocol}://{hostname}:{port}{path}/v3/portals/:portalId/custom-domain",
            "params": [
              {
                "name": "portalId",
                "value": "",
                "type": "path",
                "description": "ID of the portal."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates the portal domain associated with the portal."
        },
        {
          "info": {
            "name": "Remove Domain",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{protocol}://{hostname}:{port}{path}/v3/portals/:portalId/custom-domain",
            "params": [
              {
                "name": "portalId",
                "value": "",
                "type": "path",
                "description": "ID of the portal."
              }
            ]
          },
          "docs": "Deletes the custom domain associated with the portal."
        }
      ]
    }
  ],
  "bundled": true
}