Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Red Hat OpenShift Clusters API

Manage OpenShift clusters across cloud providers

Red Hat OpenShift Clusters API is one of 16 APIs that Red Hat OpenShift publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Clusters. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and a getting-started guide.

This API exposes 5 operations across 2 paths, and defines 4 schemas. It is described by OpenAPI 3.1.0, at version 4.0.

Requests are made against a single base URL, https://api.{cluster}:6443.

5 operations 2 paths 4 schemas 1 DELETE2 GET1 PATCH1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
4.0
Base URL
https://api.cluster.example.com:6443
Authentication
HTTP Bearer
Terms of Service
Resource Areas
1

Authentication & Security 1

Red Hat OpenShift Clusters API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (JWT) (bearerAuth). By default, every request must be authenticated.

Paths & Operations 5

Across 2 paths, the API surfaces 5 operations — 1 DELETE, 2 GET, 1 PATCH, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Clusters 5

Manage OpenShift clusters across cloud providers

GET
/api/clusters_mgmt/v1/clusters
List Clusters
listClusters 4 params → 200401
POST
/api/clusters_mgmt/v1/clusters
Create Cluster
createCluster body → 201400401
GET
/api/clusters_mgmt/v1/clusters/{cluster_id}
Get Cluster
getCluster 1 param → 200401404
PATCH
/api/clusters_mgmt/v1/clusters/{cluster_id}
Update Cluster
updateCluster 1 param body → 200
DELETE
/api/clusters_mgmt/v1/clusters/{cluster_id}
Delete Cluster
deleteCluster 1 param → 204401404

Schemas 4

The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are Cluster (15 properties), ClusterList (5 properties), Error (5 properties), ClusterPatch (2 properties). Each schema is shown below with its type and property counts.

ClusterPatch
object
2 properties
Error
object
5 properties
ClusterList
object
5 properties
Cluster
object
15 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

red-hat-openshift-clusters-api-openapi.yml Raw ↑

Other APIs Red Hat OpenShift publishes across the network.

Red Hat OpenShift Pipelines (Tekton) API
Red Hat OpenShift GitOps (ArgoCD) API
Red Hat OpenShift Service Mesh API
Red Hat OpenShift Serverless (Knative) API
Red Hat OpenShift Service on AWS (ROSA) API
Red Hat OpenShift Add-ons API
Red Hat OpenShift Builds API
Red Hat OpenShift Deployment Configs API
Red Hat OpenShift Identity Providers API
Red Hat OpenShift Image Streams API
Red Hat OpenShift Machine Pools API
Red Hat OpenShift Projects API