---
title: "Admin Reset Password"
method: POST
path: "/api/auth/admin-reset-password"
---

# Admin Reset Password

`POST /api/auth/admin-reset-password`

## Request

- Base URL: `https://api.kojiru.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.kojiru.com/api/auth/admin-reset-password`
- Auth: none declared

One-time admin password reset endpoint.
Guarded by JWT_SECRET (same pattern as bootstrap-admin).
Resets password ONLY for users with role == 'admin'.
Remove this endpoint after use.

## Request body

- object

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/kojiru/apis/kojiru-api.md) · [All operations](https://skmtc.dev/kojiru/apis/kojiru-api/llms.txt) · [OpenAPI document](https://skmtc.dev/kojiru/apis/kojiru-api/revisions/7974409f57cd?raw)
