Skip to main content
POST
Change current password

Authorizations

Authorization
string
header
required

JWT token for user authentication

Body

application/json
current_password
string<password>
required

Current password for verification

Example:

"CurrentPass123!"

new_password
string<password>
required

New password. Must be at least 10 characters and include at least one number, one lowercase letter, one uppercase letter, and one special character.

Example:

"NewSecurePass123!"

Response

Password changed successfully

message
string
Example:

"Password changed successfully"