---
title: "Change the current account password"
method: POST
path: "/auth/password"
tags: ["Auth"]
---

# Change the current account password

`POST /auth/password`

## Request

- Base URL: `https://app.openpo.st/api/v1`
- URL: `https://app.openpo.st/api/v1/auth/password`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `openpost_session`

## Request body

- ChangePasswordInputBody
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `current_password` string, required: Current password
  - `new_password` string, required: New password
  - `reauth_grant` string: One-time action-bound reauthentication grant

## Response `200`

OK

- ChangePasswordOutputBody
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `message` string, required
  - `revoked_sessions` integer, required

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `422`: Unprocessable Entity
- `429`: Too Many Requests
- `500`: Internal Server Error

---

[API](https://skmtc.dev/openpo/apis/openpost-api.md) · [All operations](https://skmtc.dev/openpo/apis/openpost-api/llms.txt) · [OpenAPI document](https://skmtc.dev/openpo/apis/openpost-api/revisions/67d3964458a7?raw)
