Modify Password
Change the authenticated user’s password.
Available to: All authenticated users
Environments: Live
Rate Limit: 5 requests per hour, 15-second back-off, counts failed requests only
Changes the password for the calling user. The request must include the user’s currentPassword (re-authentication) and the new password. The new password is validated against the password policy before it is applied.
Omit userId to change your own password. Organization administrators can change a member’s password by setting userId to the target user; the request is rejected for non-administrators who attempt to target a different user.
The new password must be 8–64 characters. It is rejected if it contains the username, contains the email address, or contains a common sequence (1234, tradovate, ninjatrader, qwerty, or abcd).
On success the response returns a fresh accessToken and expirationTime — the password change rotates the access token, so update the token your client uses for subsequent requests. To change the username at the same time as the password, use modifyCredentials instead.
Common Failure Scenarios
currentPassworddoes not match the user’s current password.- The new
passwordfails the password-policy check (too short, or contains the username, email, or a common sequence). - A non-administrator sets
userIdto a user other than themselves.
Error Messages
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
Response
Non-empty if the request failed