Skip to content

docs: add section on how to retrieve user list #17798

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
May 13, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Apply suggestions from code review
Co-authored-by: M Atif Ali <atif@coder.com>
  • Loading branch information
EdwardAngert and matifali authored May 13, 2025
commit e485e6cae2ee865bbbeb49fc5ea8938e659d23dd
4 changes: 2 additions & 2 deletions docs/admin/users/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -227,13 +227,13 @@ Visit the [users list](../../reference/cli/users_list.md) documentation for more

Use [get users](../../reference/api/users.md#get-users):

```bash
```shell
curl -X GET http://coder-server:8080/api/v2/users \
-H 'Accept: application/json' \
-H 'Coder-Session-Token: API_KEY'
```

To export the results to a CSV file, you can use [jq](https://jqlang.org/) to process the JSON response:
To export the results to a CSV file, you can use [`jq`](https://jqlang.org/) to process the JSON response:

```shell
curl -X GET http://coder-server:8080/api/v2/users \
Expand Down
Loading