Change your password
Changes the password of the logged-in account. Prove it’s you either with currentPassword, or with an email or phone of your account that you verified within the last hour. Every API token issued before the change stops working; use the token in the response from now on.
Authorizations
Send your API token as Authorization: Bearer <api-token>. Tokens expire (30 days by default) and stop working when you change or reset your password.
Body
Send currentPassword, or one of email or phone (not both).
250250Your account's email address. It must have been verified within the last hour.
Your account's phone number. It must have been verified within the last hour.
^09\d{9}$"09120000000"
Response
The password was changed.
API token to send as Authorization: Bearer <api-token>.
