Update a users password
Log in to add to favouritesPOST/api/security/users/{userIdentifier}/credentials/password
Parameter
Name | Parameter type | Type | Format | Description | Example | Required |
---|---|---|---|---|---|---|
UserIdentifier | path | string | user identifier | For convenience, User resources can be referenced by using one of several identifiers - username, email address or Id. | "82f73a9b-2a13-4d63-bcc1-e8ee5047b01c" or "t.durden" or "t.durden@fightclub.com" | true |
Responses
Examples
12345
POST: /api/security/users/9bb89380-fd49-41a5-ab2f-fc25e482a251/credentials/password
{
"existing": "m4rl451ng3r",
"new": "pr0j3ctM4yh3m"
}
12345
POST: /api/security/users/t.durden/credentials/password
{
"existing": "m4rl451ng3r",
"new": "pr0j3ctM4yh3m"
}
Example request for a System Adminstrator member
1234
POST: /api/security/users/9bb89380-fd49-41a5-ab2f-fc25e482a251/credentials/password
{
"new": "pr0j3ctM4yh3m"
}
1234
POST: /api/security/users/t.durden@fightclub.com/credentials/password
{
"new": "pr0j3ctM4yh3m"
}