Changes the password for the current user.
Content Type:
application/xml
or
application/json
New password.
| XML JSON |
|---|
<Request> <NewPassword>string</NewPassword> </Request> |
{
"NewPassword": "string"
}
|
Content Type:
application/xml
or
application/json
Value indicating success or an error message.
| XML JSON |
|---|
<Response> <Result>string</Result> <!--'Success'--> <Message>string</Message> <!--Error message--> </Response> |
{
"Result": "string", // 'Success'
"Message": "string" // Error message
}
|
| Code | Condition |
|---|---|
| 200 OK | Password was successfully changed. |
| 400 Bad Request | Missing/invalid password. |
| 401 Unauthorized | Access token is invalid, expired or not specified. |
| 406 Not Acceptable | Content type specified in the Accept header isn't supported. |
| 500 Internal Server Error | An internal error occurred. |