---
title: "Set Password"
method: POST
path: "/v1/auth/set-password"
tags: ["Auth"]
---

# Set Password

`POST /v1/auth/set-password`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/v1/auth/set-password`
- Auth: OAuth 2 (password, token URL `/v1/auth/login`)

Set a password for an OAuth-only account (no existing password).

## Request body

- SetPasswordInput
  - `new_password` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/rubenayla/apis/partle-api.md) · [All operations](https://skmtc.dev/rubenayla/apis/partle-api/llms.txt) · [OpenAPI document](https://skmtc.dev/rubenayla/apis/partle-api/revisions/628cce2acee5?raw)
