POST

To change the password for your account on dataplicity.com, submit your old and new passwords along with authentication token.

http POST https://apps.dataplicity.com/change-password/ 'Authorization: Token 123456789abcdefghijklmnopqrstuvwxyzqwer' <<< '{ "old_password": "your_old_password", "new_password": "your_new_password" }'
curl --header "Content-Type: application/json" -H "Authorization: Token 123456789abcdefghijklmnopqrstuvwxyzqwer" --request POST --data '{ "old_password": "your_old_password", "new_password": "your_new_password" }'  https://apps.dataplicity.com/change-password/

The values your_old_password and your_new_password is where the old password for your account is supplied and where the new password is set.

On success, you will get a response with code 204 (no content).

There are a number of password requirements:

  • It must be at least 8 characters long.
  • It cannot be too similar to your name, email, or install code.
  • It cannot be entirely numeric.
  • It cannot be a very popular password (eg "password").