change_passwordΒΆ

  • id: A unique UUID for the query
  • account_id: account id of the account whose password is being changed (required)
  • old_password: (default: β€œβ€)
  • new_password: must be between 6 and 64 characters in length (required)

Given account_id and old password for an account, set a new password.

Example:

curl -u sk_abcdefQWERTY090900000000: \
  -d account_id=... \
  -d old_password=... \
  -d new_password=... \
  https://cocalc.com/api/v1/change_password
==> {"event":"changed_password","id":"41ff89c3-348e-4361-ad1d-372b55e1544a"}

This information is based on ffd2559e6e exported at 2019-07-09T17:36:33.143Z.