Update openpanel.md

This commit is contained in:
Stefan Pejcic 2024-08-25 22:08:48 +02:00 committed by GitHub
parent 48ab5dab58
commit d7894c2f6c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -46,6 +46,14 @@ You can also format the data as JSON:
```bash
opencli user-list --json
```
</TabItem>
<TabItem value="CLI-users" label="via API">
To list all users, use the following api endpoint:
```bash
curl -X GET http://PANEL:2087/api/users -H "Authorization: Bearer JWT_TOKEN_HERE"
```
</TabItem>