close anchor

Edit Password

To edit a user's password:

PUT /user/pwd/edit

This endpoint provides for editing a user's password. It is dependent upon either the user being logged in (using a persistent login token as provided by the /user/login endpoint) or a password initialization token (as delivered by the /user/pwd/init endpoint).

Parameters

Provide the input field(s) below as a JSON-encoded data object:

Param Type Description Optional
token string 128-byte password initialization token.
pwd string The user's desired password, being 8-72 bytes in length.

Data Fields

The data object provided by this endpoint includes:

Field Type Description
id string The UUID of the user for which data is being provided.
token string 128-byte persistent login token.

If the user's password is edited, the password initialization token for this user is deleted and the persistent login token identified with the user, and the developer key, is updated to that provided by this endpoint.

Errors

If there is an endpoint transaction failure, or a problem with user input data, an error is provided:

ID/Type Description
init_token_not_provided The user is not logged in and a password initialization token was not provided.
invalid_password The desired user password is not valid.
user_not_identified The user login or password initialization token provided is not identified with both an existing user and the developer key in use.

If an error is not described on this page, the platform-wide error table provides further information.

Register for an Invitation
Thank you!
We'll be in touch.
First Name*
Last Name*
(optional) Business Name
Role*
Email*