IBM Cloud Kubernetes Ingress Domain API

The ingress-domain API from IBM Cloud Kubernetes — 7 operation(s) for ingress-domain.

GitHub OpenAPI

Operations 7

POST /ingress/v2/dns/createDomain Create an Ingress domain for a cluster #
POST /ingress/v2/dns/deleteCredential Deprecated: Delete external domain provider credential #
POST /ingress/v2/dns/deleteDomain Delete a non-default Ingress domain for a cluster #
GET /ingress/v2/dns/getCredential Deprecated: Get external domain provider credential metadata #
POST /ingress/v2/dns/replaceDefaultSubdomain Replace the existing default Ingress domain for a cluster #
POST /ingress/v2/dns/setCredential Deprecated: Set external domain provider credential #
POST /ingress/v2/dns/updateDomain Update an Ingress domain for a cluster #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/ibm-cloud-kubernetes:ibm-cloud-kubernetes-ingress-domain-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

ibm-cloud-kubernetes-ingress-domain-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Ibm Cloud Kubernetes Ingress Domain API
  version: '1.1'
  description: 'Operations tagged ingress-domain across 2 of this provider''s published API definitions: ibm-cloud-kubernetes-swagger.json, ibm-cloud-kubernetes-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: /global
- url: https://containers.cloud.ibm.com/global
tags:
- name: ingress-domain
paths:
  /ingress/v2/dns/createDomain:
    post:
      description: Create an Ingress domain for a cluster.
      tags:
      - ingress-domain
      summary: Create an Ingress domain for a cluster
      operationId: CreateDomain
      parameters:
      - description: Your IBM Cloud Identity and Access Management (IAM) token. To retrieve your IAM token, run `ibmcloud iam oauth-tokens`.
        name: Authorization
        in: header
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Created. The domain is created.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExtendedNlbVPCConfig'
        '401':
          description: Unauthorized. The IAM token is invalid or expired. To retrieve your IAM token, run `ibmcloud login` and then `ibmcloud iam oauth-tokens`.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found. The specified cluster could not be found. To list the clusters that you have access to, use the `GET /v1/clusters` API or run `ibmcloud ks cluster ls`.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal Server Error. IBM Cloud Kubernetes Service is currently unavailable. Your request could not be processed. Please wait a few minutes and try again. If you still encounter this problem, note the incident ID and contact IBM Cloud support.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateDomainReq'
        description: Input parameter to create a domain.
        required: true
    servers:
    - url: /global
  /ingress/v2/dns/deleteCredential:
    post:
      description: 'Deprecated: Delete the registered external provider credential for a cluster.'
      tags:
      - ingress-domain
      summary: 'Deprecated: Delete external domain provider credential'
      operationId: DeleteCredential
      deprecated: true
      parameters:
      - description: Your IBM Cloud Identity and Access Management (IAM) token. To retrieve your IAM token, run `ibmcloud iam oauth-tokens`.
        name: Authorization
        in: header
        required: true
        schema:
          type: string
      - description: The name or ID of the cluster. To list the clusters that you have access to, use the `GET /v1/clusters` API or run `ibmcloud ks cluster ls`.
        name: cluster
        in: query
        required: true
        schema:
          type: string
      responses:
        '204':
          description: No Content. The credential was successfully fetched.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
        '401':
          description: Unauthorized. The IAM token is invalid or expired. To retrieve your IAM token, run `ibmcloud login` and then `ibmcloud iam oauth-tokens`.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found. The specified cluster could not be found. To list the clusters that you have access to, use the `GET /v1/clusters` API or run `ibmcloud ks cluster ls`.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal Server Error. IBM Cloud Kubernetes Service is currently unavailable. Your request could not be processed. Please wait a few minutes and try again. If you still encounter this problem, note the incident ID and contact IBM Cloud support.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    servers:
    - url: /global
  /ingress/v2/dns/deleteDomain:
    post:
      description: Delete a non-default Ingress domain for a cluster.
      tags:
      - ingress-domain
      summary: Delete a non-default Ingress domain for a cluster
      operationId: DeleteDomain
      parameters:
      - description: Your IBM Cloud Identity and Access Management (IAM) token. To retrieve your IAM token, run `ibmcloud iam oauth-tokens`.
        name: Authorization
        in: header
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Ok. The domain is deleted.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
        '401':
          description: Unauthorized. The IAM token is invalid or expired. To retrieve your IAM token, run `ibmcloud login` and then `ibmcloud iam oauth-tokens`.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found. The specified cluster could not be found. To list the clusters that you have access to, use the `GET /v1/clusters` API or run `ibmcloud ks cluster ls`.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal Server Error. IBM Cloud Kubernetes Service is currently unavailable. Your request could not be processed. Please wait a few minutes and try again. If you still encounter this problem, note the incident ID and contact IBM Cloud support.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeleteDomainReq'
        description: Input parameter to delete a domain.
        required: true
    servers:
    - url: /global
  /ingress/v2/dns/getCredential:
    get:
      description: 'Deprecated: Get metadata for the registered external provider credential for a cluster.'
      tags:
      - ingress-domain
      summary: 'Deprecated: Get external domain provider credential metadata'
      operationId: GetCredential
      deprecated: true
      parameters:
      - description: Your IBM Cloud Identity and Access Management (IAM) token. To retrieve your IAM token, run `ibmcloud iam oauth-tokens`.
        name: Authorization
        in: header
        required: true
        schema:
          type: string
      - description: The name or ID of the cluster. To list the clusters that you have access to, use the `GET /v1/clusters` API or run `ibmcloud ks cluster ls`.
        name: cluster
        in: query
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Ok. The credential was successfully fetched.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetCredentials'
        '401':
          description: Unauthorized. The IAM token is invalid or expired. To retrieve your IAM token, run `ibmcloud login` and then `ibmcloud iam oauth-tokens`.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found. The specified cluster could not be found. To list the clusters that you have access to, use the `GET /v1/clusters` API or run `ibmcloud ks cluster ls`.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal Server Error. IBM Cloud Kubernetes Service is currently unavailable. Your request could not be processed. Please wait a few minutes and try again. If you still encounter this problem, note the incident ID and contact IBM Cloud support.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    servers:
    - url: /global
  /ingress/v2/dns/replaceDefaultSubdomain:
    post:
      description: Replace the default Ingress domain for a cluster and refresh the related cluster components.
      tags:
      - ingress-domain
      summary: Replace the existing default Ingress domain for a cluster
      operationId: ReplaceDefaultSubdomain
      parameters:
      - description: Your IBM Cloud Identity and Access Management (IAM) token. To retrieve your IAM token, run `ibmcloud iam oauth-tokens`.
        name: Authorization
        in: header
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Ok. The default domain is replaced.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
        '401':
          description: Unauthorized. The IAM token is invalid or expired. To retrieve your IAM token, run `ibmcloud login` and then `ibmcloud iam oauth-tokens`.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found. The specified cluster could not be found. To list the clusters that you have access to, use the `GET /v1/clusters` API or run `ibmcloud ks cluster ls`.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal Server Error. IBM Cloud Kubernetes Service is currently unavailable. Your request could not be processed. Please wait a few minutes and try again. If you still encounter this problem, note the incident ID and contact IBM Cloud support.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReplaceDefaultSubdomainReq'
        description: Input parameter to replace default domain.
        required: true
    servers:
    - url: /global
  /ingress/v2/dns/setCredential:
    post:
      description: 'Deprecated: Register a credential for external domain provider for use in ingress domain commands.'
      tags:
      - ingress-domain
      summary: 'Deprecated: Set external domain provider credential'
      operationId: SetCredential
      deprecated: true
      parameters:
      - description: Your IBM Cloud Identity and Access Management (IAM) token. To retrieve your IAM token, run `ibmcloud iam oauth-tokens`.
        name: Authorization
        in: header
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Created. The credential was successfully registered.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
        '401':
          description: Unauthorized. The IAM token is invalid or expired. To retrieve your IAM token, run `ibmcloud login` and then `ibmcloud iam oauth-tokens`.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found. The specified cluster could not be found. To list the clusters that you have access to, use the `GET /v1/clusters` API or run `ibmcloud ks cluster ls`.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal Server Error. IBM Cloud Kubernetes Service is currently unavailable. Your request could not be processed. Please wait a few minutes and try again. If you still encounter this problem, note the incident ID and contact IBM Cloud support.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateCredentialReq'
        description: Input parameter to register an external domain provider credential.
        required: true
    servers:
    - url: /global
  /ingress/v2/dns/updateDomain:
    post:
      description: Update an Ingress domain with the specified IPs or hostnames.
      tags:
      - ingress-domain
      summary: Update an Ingress domain for a cluster
      operationId: UpdateDomain
      parameters:
      - description: Your IBM Cloud Identity and Access Management (IAM) token. To retrieve your IAM token, run `ibmcloud iam oauth-tokens`.
        name: Authorization
        in: header
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Ok. The domain is updated.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
        '401':
          description: Unauthorized. The IAM token is invalid or expired. To retrieve your IAM token, run `ibmcloud login` and then `ibmcloud iam oauth-tokens`.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found. The specified cluster could not be found. To list the clusters that you have access to, use the `GET /v1/clusters` API or run `ibmcloud ks cluster ls`.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal Server Error. IBM Cloud Kubernetes Service is currently unavailable. Your request could not be processed. Please wait a few minutes and try again. If you still encounter this problem, note the incident ID and contact IBM Cloud support.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateDomainReq'
        description: Input parameter to update a domain.
        required: true
    servers:
    - url: /global
components:
  schemas:
    GetCredentials:
      description: GetCredentials is the return model for a get on a credential
      type: object
      properties:
        cluster:
          type: string
          x-go-name: Cluster
        credID:
          type: string
          x-go-name: CredID
        expiresOn:
          type: string
          x-go-name: ExpiresOn
        lastUpdatedTimestamp:
          type: string
          x-go-name: LastUpdatedTimeStamp
        provider:
          type: string
          x-go-name: Provider
      x-go-package: github.ibm.com/alchemy-containers/armada-dns-model/v2/dns
    ErrorType:
      description: ErrorType error type
      type: string
      x-go-package: github.ibm.com/alchemy-containers/armada-model/errors
    ErrorResponse:
      description: ErrorResponse error response to end users
      type: object
      properties:
        code:
          type: string
          x-go-name: ID
        description:
          type: string
          x-go-name: Err
        incidentID:
          type: string
          x-go-name: ReqID
        recoveryCLI:
          type: string
          x-go-name: RecoveryCLI
        terseDescription:
          type: string
          x-go-name: TerseErr
        type:
          $ref: '#/components/schemas/ErrorType'
      x-go-package: github.ibm.com/alchemy-containers/armada-model/errors
    CreateDomainReq:
      description: CreateDomainReq request body for creating domain
      type: object
      properties:
        cluster:
          type: string
          x-go-name: Cluster
        crn:
          type: string
          x-go-name: CRN
        hostname:
          type: string
          x-go-name: Hostname
        ips:
          type: array
          items:
            type: string
          x-go-name: IPs
        isDefault:
          type: boolean
          x-go-name: IsDefault
        provider:
          type: string
          x-go-name: Provider
        secretNamespace:
          type: string
          x-go-name: SecretNamespace
        zoneID:
          type: string
          x-go-name: ZoneID
      x-go-package: github.ibm.com/alchemy-containers/armada-dns-model/v2/dns
    CreateCredentialReq:
      description: CreateCredentialReq is the request body for setting credentials for an external DNS provider
      type: object
      properties:
        akamai_credentials:
          $ref: '#/components/schemas/AkamaiCredentials'
        cloudflare_credentials:
          $ref: '#/components/schemas/CloudflareCredentials'
        cluster:
          type: string
          x-go-name: Cluster
        provider:
          type: string
          x-go-name: Provider
      x-go-package: github.ibm.com/alchemy-containers/armada-dns-model/v2/dns
    ExtendedNlbVPCConfig:
      description: ExtendedNlbVPCConfig is the response body for the get v2 vpc apis
      type: object
      properties:
        certProvider:
          type: string
          x-go-name: CertProvider
        cluster:
          type: string
          x-go-name: Cluster
        crn:
          type: string
          x-go-name: CRN
        dnsType:
          type: string
          x-go-name: DNSType
        isDefault:
          type: boolean
          x-go-name: IsDefault
        lbHostname:
          type: string
          x-go-name: LBHostname
        nlbIPArray:
          type: array
          items:
            type: string
          x-go-name: NlbIPArray
        nlbSubdomain:
          type: string
          x-go-name: NlbSubdomain
        provider:
          type: string
          x-go-name: Provider
        secretNamespace:
          type: string
          x-go-name: SecretNamespace
        statusMessage:
          type: string
          x-go-name: StatusMessage
        type:
          type: string
          x-go-name: Type
        zoneID:
          type: string
          x-go-name: ZoneID
      x-go-package: github.ibm.com/alchemy-containers/armada-dns-model/v2/vpc
    ReplaceDefaultSubdomainReq:
      description: ReplaceDefaultSubdomainReq is the request body for replacing default subdomain for cluster
      type: object
      properties:
        cluster:
          type: string
          x-go-name: Cluster
        subdomain:
          type: string
          x-go-name: Domain
      x-go-package: github.ibm.com/alchemy-containers/armada-dns-model/v2/dns
    DeleteDomainReq:
      description: DeleteDomainReq is the request body for deleting a domain from cluster
      type: object
      properties:
        cluster:
          type: string
          x-go-name: Cluster
        subdomain:
          type: string
          x-go-name: Domain
      x-go-package: github.ibm.com/alchemy-containers/armada-dns-model/v2/dns
    CloudflareCredentials:
      description: CloudflareCredentials is the struct representation of Cloudflare creds
      type: object
      properties:
        token:
          type: string
          x-go-name: Token
        zone_id:
          type: string
          x-go-name: ZoneID
      x-go-package: github.ibm.com/alchemy-containers/armada-dns-model/v2/dns
    UpdateDomainReq:
      description: UpdateDomainReq request body for new domain update API
      type: object
      properties:
        cluster:
          type: string
          x-go-name: Cluster
        domain:
          type: string
          x-go-name: Domain
        hostname:
          type: string
          x-go-name: Hostname
        ips:
          type: array
          items:
            type: string
          x-go-name: IPs
      x-go-package: github.ibm.com/alchemy-containers/armada-dns-model/v2/dns
    AkamaiCredentials:
      description: AkamaiCredentials is the struct representation of Akamai creds
      type: object
      properties:
        access_token:
          type: string
          x-go-name: AccessToken
        client_secret:
          type: string
          x-go-name: ClientSecret
        client_token:
          type: string
          x-go-name: ClientToken
        host:
          type: string
          x-go-name: Host
        zone:
          type: string
          x-go-name: Zone
      x-go-package: github.ibm.com/alchemy-containers/armada-dns-model/v2/dns
x-refined-from:
- ibm-cloud-kubernetes-swagger.json
- ibm-cloud-kubernetes-openapi.yml