User
Change Password
Change a user’s password to a new one.
PATCH
Overview
Allows an authenticated user to update their current password. The user must provide their current password for verification before setting a new password.
Request Body
old_password
(string) - The user’s existing password for authentication.new-password
(string) - The user’s new desired password.
Example Request
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
API versioning is required. Include the header X-API-Version
with current version value in all requests.
Example:
"v1"
Response
200 - application/json
Example:
"Password changed successfully"