---
title: "Lists all OpenShift versions available to install in the specified location."
method: GET
path: "/subscriptions/{subscriptionId}/providers/Microsoft.RedHatOpenShift/locations/{location}/openShiftVersions"
tags: ["OpenShiftVersions"]
---

# Lists all OpenShift versions available to install in the specified location.

`GET /subscriptions/{subscriptionId}/providers/Microsoft.RedHatOpenShift/locations/{location}/openShiftVersions`

The operation returns the installable OpenShift versions as a string.

## Parameters

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

## Response `200`

Azure operation completed successfully.

- OpenShiftVersionList — OpenShiftVersionList represents a List of available versions.
  - `value` OpenShiftVersion[], required — The OpenShiftVersion items on this page — unresolved $ref
  - `nextLink` string, uri — The link to the next page of items

## Other responses

- `default` — An unexpected error response.

---

[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-service-production.skmtc.workers.dev/v1/apis/azure/redhatopenshift-microsoft-redhatopenshift-openshiftclusters/revisions/bc9747e6523a/schema)
