PearPear

Change password

Change password for authenticated user by providing current and new password

POST
/auth/password/change
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Change password for an authenticated user

Response Body

curl -X POST "https://example.com/auth/password/change" \  -H "Content-Type: application/json" \  -d '{    "currentPassword": "stringst",    "newPassword": "stringst"  }'
Empty