cURL
curl --request POST \ --url https://api-sandbox.rinne.com.br/core/v1/auth/change-password \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "current_password": "CurrentPassword123", "new_password": "NewSecurePassword123" } '
{ "message": "Password changed successfully" }
Changes the authenticated user’s password. Requires current password for verification. User must be authenticated with a valid JWT token.
JWT token for user authentication
Current password for verification
"CurrentPassword123"
New password (min 8 characters)
"NewSecurePassword123"
Password changed successfully
"Password changed successfully"