---
title: "Lists OpenShift clusters in the specified subscription."
method: GET
path: "/subscriptions/{subscriptionId}/providers/Microsoft.RedHatOpenShift/openShiftClusters"
tags: ["OpenShiftClusters"]
---

# Lists OpenShift clusters in the specified subscription.

`GET /subscriptions/{subscriptionId}/providers/Microsoft.RedHatOpenShift/openShiftClusters`

The operation returns properties of each OpenShift cluster.

## Parameters

- `../../../../../../common-types/resource-management/v2/types.json#/components/parameters/ApiVersionParameter` — unresolved $ref
- `../../../../../../common-types/resource-management/v2/types.json#/components/parameters/SubscriptionIdParameter` — unresolved $ref

## Response `200`

OK

- OpenShiftClusterList — OpenShiftClusterList represents a list of OpenShift clusters.
  - `value` OpenShiftCluster[] — The list of OpenShift clusters. — unresolved $ref
  - `nextLink` string — The link used to get the next page of operations.

## Other responses

- `default` — Error response describing why the operation failed. If the resource doesn't exist, 404 (Not Found) is returned. If any of the input parameters is wrong, 400 (Bad Request) is returned.

---

[API](https://skmtc.dev/azure/apis/redhatopenshift-microsoft-redhatopenshift-openshiftclusters.md) · [All operations](https://skmtc.dev/azure/apis/redhatopenshift-microsoft-redhatopenshift-openshiftclusters/llms.txt) · [OpenAPI document](https://skmtc.dev/azure/apis/redhatopenshift-microsoft-redhatopenshift-openshiftclusters/revisions/5829b2d660e4?raw)
