Skip to content
OpenPostDocs
OpenPostDocs
Auth

Change the current account password

POST/auth/password

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://example.com/auth/password" \  -H "Content-Type: application/json" \  -d '{    "current_password": "string",    "new_password": "stringstring"  }'
{  "$schema": "https://example.com/api/v1/schemas/ChangePasswordOutputBody.json",  "message": "string",  "revoked_sessions": 0}