---
title: "Get List of Available Versions of mxpc-cli"
method: GET
path: "/cli"
tags: ["cli"]
---

# Get List of Available Versions of mxpc-cli

`GET /cli`

## Request

- Base URL: `https://privatecloud.mendixcloud.com/api/v4`
- URL: `https://privatecloud.mendixcloud.com/api/v4/cli`
- Auth: API key in header `Authorization`

Retrieves all available versions of mxpc-cli.

## Response `200`

The JSON response returned by a get-cli-versions request.

- object
  - `cliVersionList` CliVersion[]
    - `operatorVersion` string
    - `cliVersion` string
    - `availableOperatingSystems` string
    - `availableArchitectures` string

## Other responses

- `401`: There were no usable authentication credentials found. The error response gives additional feedback.
- `403`: Access is denied. The provided credentials are incorrect or the credentials do not have the required level of access. The error response gives additional feedback.
- `404`: The requested item could not be found. The error response gives additional feedback.

---

[API](https://skmtc.dev/mendix/apis/mendix-for-private-cloud-deploy-api.md) - [All operations](https://skmtc.dev/mendix/apis/mendix-for-private-cloud-deploy-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mendix/apis/mendix-for-private-cloud-deploy-api/revisions/ae247dcd18e1?raw)
