# list-user-openvpn

The vpn list-user-openvpn command retrieves a list of all OpenVPN users associated with your VPN instance. This command displays essential details such as Username OpenVPN and Expired Date.

## Usage

```
cldkctl vpn list-user-openvpn [flags]
```

## Steps

Follow the steps below to run and view the result of this command:

1. Run the following command in your terminal:

```
cldkctl vpn list-user-openvpn
```

2. Enter the VPN name in the VPN Name field. To obtain or verify it, refer to vpn list.
3. Enter the public IP address in the IP Public field.
4. Press y for Confirm or n for Cancel.

<figure><img src="/files/mgFpYEVEPUdGqY7VWFg1" alt=""><figcaption></figcaption></figure>

5. Once successful, the terminal displays the list of OpenVPN users along with their expiration dates.

<figure><img src="/files/zZyihGZcl40gIYAiECV9" alt=""><figcaption></figcaption></figure>

| Column           | Description                                               |
| ---------------- | --------------------------------------------------------- |
| Username OpenVPN | Displays the username of the OpenVPN user.                |
| Expired Date     | Displays the expiration date of the OpenVPN user account. |

## Flags

{% hint style="info" %}
This command supports [global flags](/cloudeka-api-list/global-flags.md). Refer to the Global Flags section for details.
{% endhint %}

| Flag       | Description                          |
| ---------- | ------------------------------------ |
| -h, --help | Help for list user open vpn command. |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cloudeka.ai/cloudeka-api-list/command-reference/cldkctl-vpn/list-user-openvpn.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
