Start typing to search.

API Reference

Change own password

View Markdown
PUT /api/users/me/password

Requires current password for verification.

Operation IDchangeOwnPassword

Authentication

  • BearerAuth·http bearer·API key token (envoy_<hex>). Create keys from Settings → API Keys — see Using the API.

Request body

This request body is required.

Content typeapplication/json

requestobject
2 properties
current_passwordstringrequired
new_passwordstringrequired

Success response body

200Password changed

Password changed

Content typeapplication/json

responseobject
1 property
successboolean

Error responses

400Validation error

Validation error

Content typeapplication/json

responseobject
2 properties
errorstring
messagestring
Example response
{
  "error": "VALIDATION_ERROR",
  "message": "Invalid input"
}

401Current password incorrect

Current password incorrect

No response content schema is documented.

429Too many requests

Too many requests

Content typeapplication/json

responseobject
2 properties
errorstring
messagestring
Example response
{
  "error": "RATE_LIMITED",
  "message": "Too many failed TOTP attempts. Try again later."
}