Skip to main content

Update a users password

Log in to add to favourites
POST/api/security/users/{userIdentifier}/credentials/password

Parameter

NameParameter typeTypeFormatDescriptionExampleRequired
UserIdentifierpathstringuser identifierFor 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

HTTP status codeReasonModel
200OK - password updated successfully
401UnauthorizedError
403ForbiddenError
404User not foundError
409Invalid existing passwordError
422New password is invalidError
500Internal server errorError

Examples

JSON
1
2
3
4
5
POST: /api/security/users/9bb89380-fd49-41a5-ab2f-fc25e482a251/credentials/password { "existing": "m4rl451ng3r", "new": "pr0j3ctM4yh3m" }
JSON
1
2
3
4
5
POST: /api/security/users/t.durden/credentials/password { "existing": "m4rl451ng3r", "new": "pr0j3ctM4yh3m" }

Example request for a System Adminstrator member

JSON
1
2
3
4
POST: /api/security/users/9bb89380-fd49-41a5-ab2f-fc25e482a251/credentials/password { "new": "pr0j3ctM4yh3m" }
JAVASCRIPT
1
2
3
4
POST: /api/security/users/t.durden@fightclub.com/credentials/password { "new": "pr0j3ctM4yh3m" }

Remarks

Still need help?

New support request