---
title: "Add a password to a database's default user"
method: POST
path: "/v1/bdbs/{uid}/passwords"
tags: ["Database"]
---

# Add a password to a database's default user

`POST /v1/bdbs/{uid}/passwords`

Add a new password to the database's default user password list for AUTH authentication

## Path parameters

- `uid` integer, required

## Request body

- BdbPasswordRequest — Request body for database password operations
  - `password` string, required — The password to add, delete, or set

## Response `200`

Password added successfully

## Other responses

- `404` — Not Found
- `406` — Not Acceptable

---

[API](https://skmtc.net/redis/apis/redis-software-rest-api.md) · [All operations](https://skmtc.net/redis/apis/redis-software-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/redis/redis-software-rest-api/versions/c85fee8cf0f6/schema)
