arrow_back Back to all endpoints
PUT https://test-api.finerworks.com/v3/update_password

Update Password

Updates a user's password. Must have permission to call this.

Body

Name Description Type Additional information
existing_password Current password text

Required

new_password New password. Should be at least 8 characters and contain at least one uppercase letter, one lowercase letter, and one number. text

Required

String length: inclusive between 6 and 12

confirm_new_password Confirm new password. Should match the new_password field. text

Required

account_key User account associated with the request. text

Required

Example JSON Body

application/json, text/json

{
  "existing_password": "sample string 1",
  "new_password": "sample string 2",
  "confirm_new_password": "sample string 3",
  "account_key": "sample string 4"
}

Sample Code Library

curl --location --request PUT 'https://test-api.finerworks.com/v3/update_password' \
--header 'Content-Type: application/json' \
--header 'web_api_key: my-web-api-key-goes-here' \
--header 'app_key: my-app-key-goes-here' \
--data-raw '{
  "existing_password": "sample string 1",
  "new_password": "sample string 2",
  "confirm_new_password": "sample string 3",
  "account_key": "sample string 4"
}'