---
title: "List all Basic-auth credentials"
method: GET
path: "/basic-auths"
tags: ["Basic-auth credentials"]
---

# List all Basic-auth credentials

`GET /basic-auths`

List all Basic-auth credentials

## Query parameters

- `size` integer
- `offset` string
- `tags` string

## Response `200`

A successful response listing Basic-auth credentials

- object
  - `data` BasicAuth[]
    - `consumer` object, nullable
      - `id` string
    - `created_at` integer — Unix epoch when the resource was created.
    - `id` string, nullable
    - `password` string, required
    - `tags` string[]
    - `username` string, required
  - `next` string — URI to the next page (may be null)
  - `offset` string — Offset is used to paginate through the API. Provide this value to the next list operation to fetch the next page

## Other responses

- `401` — Unauthorized

## Changes

> 4 revisions in range; 1 not diffed.

- **2024-11-26** `99e71588eb61` — 1 breaking, 7 info
  - the `data/items/` response's property type changed from no type to `object` for status `200`
  - added the optional property `data/items/consumer` to the response with the `200` status
  - added the optional property `data/items/created_at` to the response with the `200` status
  - added the optional property `data/items/id` to the response with the `200` status
  - …4 more
- **2024-09-11** `5bd52189d290` — 1 info
  - added the optional property `next` to the response with the `200` status

[Change history](https://skmtc.dev/kong/apis/kong-enterprise-admin-api/changes/basic-auths/get.md)

---

[API](https://skmtc.dev/kong/apis/kong-enterprise-admin-api.md) · [All operations](https://skmtc.dev/kong/apis/kong-enterprise-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kong/kong-enterprise-admin-api/revisions/99e71588eb61/schema)
