EaserixDocs
DevelopersAPI referenceAuth & accountsMe

Set or change password

Full sessions only. current_password is required only when the account already has one (magic-link accounts may set their first password). Wrong current password returns 403, not 401.

View as Markdown
POST
/v1/me/password
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/me/password" \  -H "Content-Type: application/json" \  -d '{    "new_password": "stringst"  }'
{  "message": "string"}