apistockdocs
v0.4 GitHub apistock.dev
API reference/Auth

Change the password

PUT /v1/auth/password
Signs out other devices.

Authorization

bearer
Authorizationheader · stringrequired

Session token from POST /v1/auth/login with "transport": "bearer". Browsers use the session cookie that login sets instead.

Body

application/json
current_passwordstringrequired
maxLength: 512
new_passwordstringrequired

At least 12 characters

maxLength: 512

Responses

errors: application/problem+json
204

No Content

401

Unauthorized

422

Unprocessable Entity

500

Internal Server Error

Match errors on the problem's code, which stays the same, not on its message.

esc
↑↓ move↵ openesc close