Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


curl --location --request POST 'http://xxxxxxxxxx<idmadresi>/api/password/check' \
--header 'accept: application/json' \
--header 'client_id: <client_id>' \
--header 'client_secret: <client_secret>' \
--header 'Content-Type: application/json-patch+json' \
--data-raw '{ "Password": <password>}'


...


curl --location --request PUT 'http:/xxxxx<idmadresi>/legacy/idp/api/password/change' \
--header 'client_id: <client_id>' \
--header 'client_secret: <client_secret>'  \
--header 'Content-Type: application/json-patch+json' \
--data-raw '{
"UserName": "<username>",
"OldPassword": "<oldpassword>",
"NewPassword": "<newpassword>"
}'


...