Skip to main content

Force a user to reset their password on next login

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

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
204Success
403ForbiddenError
404User not foundError
422Validation errorError
500Internal server errorError

Examples

Force a password reset

HTTP
1
2
3
4
POST: /api/security/users/82f73a9b-2a13-4d63-bcc1-e8ee5047b01c/actions/ { "type": "forcePasswordReset" }

Remarks

Still need help?

New support request