Skip to main content
Skip table of contents

Update user credentials

Request

To update the password for a user, send a PUT request to:

http://<host>:<port>/adm/v1/accounts/<_id>

Headers

  • Content-Type: application/json

Mandatory Arguments

  • id - the id of the account to which the update is applied

Example

A PUT request with this payload changes the "password" for the specified user:

CODE
{
    "password":"resetpasswd"
}

Response

A successful request returns an HTTP 200 status.

An unsuccessful request returns an HTTP 400 status. The response includes details of the error.

Example

CODE
{
    "matchedCount": 1,
    "modifiedCount": 1
}

See also

For full details of this API, see Account and Device Manager (ADM) API documentation.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.