Change Password
Developing
Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
Body Params application/json
{
"old_password": "string",
"new_password": "string"
}
Request Code Samples
curl --location --request POST 'http://petfen-account.local.com:8081/api/v1/account/change-password' \
--header 'X-Auth-Service: Bearer ' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"old_password": "string",
"new_password": "string"
}'
Responses
application/json Modified at 2025-09-16 03:28:20