Skip to main content
POST
/
v1
/
auth
/
me
/
change-password
Change Password
curl --request POST \
  --url http://localhost:3000/v1/auth/me/change-password \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "current_password": "OldSecretPassword123!",
  "new_password": "NewSecretPassword123!"
}
'
{
  "message": "password changed successfully"
}

Authorizations

Authorization
string
header
required

Use an access token retrieved from login (Bearer sess_...) or a programmatic API key (Bearer ak_...).

Body

application/json
current_password
string
required
Example:

"OldSecretPassword123!"

new_password
string
required
Minimum string length: 8
Example:

"NewSecretPassword123!"

Response

Password changed successfully

message
string
required
Example:

"password changed successfully"