---
title: "Reset admin password"
method: POST
path: "/auth/admin/reset-password"
tags: ["Admin User"]
---

# Reset admin password

`POST /auth/admin/reset-password`

Resets the built-in admin user's password. The username is always fixed to `admin`.

This endpoint can only be called from localhost (the same machine as the server). The new password must satisfy the same password policy as the create endpoint.

## Request body

- object
  - `password` string, required — New password for the admin user. Must satisfy the password policy.

## Response `200`

Password reset successfully.

- StatusResponse
  - `status` string — Operation result status.
  - `message` string — Human-readable status message.

## Other responses

- `400` — Missing or invalid password.
- `404` — Admin user does not exist.

---

[API](https://skmtc.dev/actiancorp/apis/actian-vectorai-db-authentication-api.md) · [All operations](https://skmtc.dev/actiancorp/apis/actian-vectorai-db-authentication-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/actiancorp/actian-vectorai-db-authentication-api/revisions/1be75c43c359/schema)
