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.
openapi: 3.2.0
info:
title: Ibm Cloud Kubernetes Port80 API
version: '1.1'
description: 'Operations tagged port80 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: port80
paths:
/ingress/v2/security/port80:
get:
description: Get the configuration of a cluster's port 80 security settings.
tags:
- port80
summary: Get the configuration of a cluster's port 80 security settings
operationId: GetPort80
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.
name: cluster
in: query
required: true
schema:
type: string
responses:
'200':
description: Ok. The port 80 configuration for the specified cluster is returned.
headers:
X-Request-Id:
description: Unique ID for this request
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/Port80Config'
'400':
description: Bad request. The input parameters in the request body are either incomplete or in the wrong format. Be sure to include all required parameters in your request in JSON format.
headers:
X-Request-Id:
description: Unique ID for this request
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Unauthorized. The IAM or UAA token is invalid or expired. To retrieve your UAA and IAM tokens, 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'
'403':
description: Forbidden. The credentials set for the region and resource group have insufficient permissions to use a requested optional feature.
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.
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 the IBM Cloud support.
headers:
X-Request-Id:
description: Unique ID for this request
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
patch:
description: Enable port 80 on a Kubernetes or Red Hat OpenShift cluster. For clusters created after December 1, 2025, port 80 belonging to the default OpenShift router and Kubernetes ingress is disabled by default. Configure this setting to enable the port.
tags:
- port80
summary: Enable port 80 on the cluster
operationId: UpdatePort80
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: Port 80 security configuration submitted and update started.
headers:
X-Request-Id:
description: Unique ID for this request
schema:
type: string
'400':
description: Bad request. The input parameters in the request body are either incomplete or in the wrong format. Be sure to include all required parameters in your request in JSON format.
headers:
X-Request-Id:
description: Unique ID for this request
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Unauthorized. The IAM or UAA token is invalid or expired. To retrieve your UAA and IAM tokens, 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'
'403':
description: Forbidden. The credentials set for the region and resource group have insufficient permissions to use a requested optional feature.
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.
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 the 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/Port80Config'
description: Specify the security setting for port 80.
required: true
servers:
- url: /global
components:
schemas:
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
ErrorType:
description: ErrorType error type
type: string
x-go-package: github.ibm.com/alchemy-containers/armada-model/errors
Port80Config:
description: Port80Config struct models port 80 configuration
type: object
properties:
cluster:
type: string
x-go-name: Cluster
state:
type: string
x-go-name: State
x-go-package: github.ibm.com/alchemy-containers/armada-dns-model/v2/ingress
x-refined-from:
- ibm-cloud-kubernetes-swagger.json
- ibm-cloud-kubernetes-openapi.yml