PUT v1/bunits/{bunitId}/users/{userId}/password
Changes the password for a specific user.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
bunitId |
The ID of the business unit to whom the user belongs. | integer |
Required |
userId |
The ID of the user whose password should be changed. | integer |
Required |
Body Parameters
An object containing old and new password
PasswordChangeName | Description | Type | Additional information |
---|---|---|---|
OldPassword |
The user's old password. |
string |
None. |
NewPassword |
The user's new password. |
string |
None. |
Request Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml, text/xml
Sample:
<PasswordChange xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <OldPassword>sample string 1</OldPassword> <NewPassword>sample string 2</NewPassword> </PasswordChange>
Response Information
Resource Description
Return code
None.