> For the complete documentation index, see [llms.txt](https://dev.guardian.hedera.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dev.guardian.hedera.com/developer-tools-and-resources/api-reference/account-apis/user-listing-except-root-authority-and-auditor.md).

# User Listing

**`GET /accounts/`**

Returns a list of all user accounts, excluding those with Standard Registry and Auditor roles.

**Authentication:** Bearer token required (`Authorization: Bearer <token>`)

**Permission:** `Permissions.ACCOUNTS_ACCOUNT_READ`

***

## Request

No request body or parameters required.

***

## Response

### Success Response

**Status:** `200 OK`

```json
[
  {
    "username": "example_user",
    "role": "USER",
    "did": "did:hedera:testnet:zHcDLGFNymFAJiMBKnpbHDgjvTn6yZnwkPPeFhtJBECH_0.0.4532001",
    "hederaAccountId": "0.0.4532001",
    "confirmed": true,
    "failed": false
  }
]
```

### Error Responses

| Status                      | Description               |
| --------------------------- | ------------------------- |
| `401 Unauthorized`          | Missing or invalid token  |
| `403 Forbidden`             | Insufficient permissions  |
| `500 Internal Server Error` | Unexpected server failure |
