Jump to: navigation, search

Change Password

Operation Attributes Description Valid URIs
ChangePassword

oldPassword—the user's old password, encoded using base64.

newPassword—the user's new password, encoded using base64.

Verifies that the value of "oldPassword" matches the logged in user's existing password and updates it to the value of "newPassword." Configuration Server will be responsible for applying the password rules.

/me

/users/{id} (Supervisors and Admins only)

Request parameters

Following request parameters are available for the "ChangePassword" operation.

Parameter

Type

Description

Access Level

firstLogin

String

Allow user to change own password, when he/she tries to login first time after user's creation or changing of user's password by an administrator. Valid values: true|false Default value: false

POST

Examples

The following changes password of a user.

Request:

POST api/v2/me
{
    "operationName":"ChangePassword",
    "oldPassword":"MQ==",
    "newPassword":"Mg=="
}

Response:

{
   "statusCode": 0
}

The following changes password, when a user makes first login.

Request:

POST api/v2/me?firstLogin=true
{
    "operationName":"ChangePassword",
    "oldPassword":"MQ==",
    "newPassword":"Mg=="
}

Response:

{
   "statusCode": 0,
}
This page was last edited on September 6, 2013, at 23:17.
Comments or questions about this documentation? Contact us for support!