---
title: "[BETA] Reset the credentials of a DBaaS ClickHouse user"
method: PUT
path: "/dbaas-clickhouse/{service-name}/user/{username}/password/reset"
tags: ["dbaas"]
---

# \[BETA\] Reset the credentials of a DBaaS ClickHouse user

`PUT /dbaas-clickhouse/{service-name}/user/{username}/password/reset`

## Request

- Base URL: `https://api-ch-gva-2.exoscale.com/v2`
- URL: `https://api-ch-gva-2.exoscale.com/v2/dbaas-clickhouse/{service-name}/user/{username}/password/reset`
- Auth: none declared
- TypeScript: <https://skmtc.dev/exoscale/apis/exoscale-api/docs/dbaas-clickhouse/:service-name/user/:username/password/reset/put.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `service-name` string, required
- `username` string, required

## Request body

- object
  - `password` string

## Response `200`

200

- DbaasUserClickhouseSecrets: ClickHouse User secrets
  - `username` string: ClickHouse username
  - `password` string: ClickHouse password

---

[API](https://skmtc.dev/exoscale/apis/exoscale-api.md) - [All operations](https://skmtc.dev/exoscale/apis/exoscale-api/llms.txt) - [OpenAPI document](https://skmtc.dev/exoscale/apis/exoscale-api/revisions/63da6f74c845?raw)
