Skip to content

Change password

PUT
/api/v1/users/change-password
curl --request PUT \
--url http://127.0.0.1:58259/api/v1/users/change-password \
--header 'Content-Type: application/json' \
--data '{ "currentPassword": "example", "newPassword": "example" }'

Change the password for the current user.

Media type application/json

Change password request

object
currentPassword
string
newPassword
string
Example generated
{
"currentPassword": "example",
"newPassword": "example"
}

Password changed successfully

Media type */*
object