Skip to main content
POST
/
v1
/
auth
/
change-password
Change current password
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"
}

Authorizations

Authorization
string
header
required

JWT token for user authentication

Body

application/json
current_password
string<password>
required

Current password for verification

Example:

"CurrentPassword123"

new_password
string<password>
required

New password (min 8 characters)

Example:

"NewSecurePassword123"

Response

Password changed successfully

message
string
Example:

"Password changed successfully"