curl --request POST \
--url https://api.example.com/auth/change-password \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"countryAbbreviation": "<string>",
"phoneNumber": "<string>",
"newPassword": "<string>"
}
'{
"success": true,
"data": "<unknown>"
}Call to send out a new password for the user to change their old password.
curl --request POST \
--url https://api.example.com/auth/change-password \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"countryAbbreviation": "<string>",
"phoneNumber": "<string>",
"newPassword": "<string>"
}
'{
"success": true,
"data": "<unknown>"
}The access token received from the authorization server in the OAuth 2.0 flow.