# List all Users

To list all users in your PostgreSQL cluster, send a `GET` request. Use the `limit` and `offset` parameters to control pagination.

## Endpoint

Use the following endpoint to get a list of all users in your PostgreSQL cluster:

`https://api.ionos.com/databases/postgresql/clusters/{clusterId}/users`

{% hint style="info" %}
**Note:** The sample UUID is `498ae72f-411f-11eb-9d07-046c59cc737e`.
{% endhint %}

## Request

```bash
curl --request GET \
    --user "clientname@ionos.com:Mb2.r5oHf-0t" \
```

## Response

```json
{
  "id": "a580ee24-7cf1-509c-8a40-d716f1e2f187",
  "items": [
    {
      "id": "b35402eb-bd7b-512d-92c9-9726db47c101",
      "properties": {
        "system": false,
        "username": "someuser"
      },
      "type": "user"
    }
  ],
  "limit": 100,
  "offset": 0,
  "type": "collection"
}
```
