HTTP - Management
Force a user to reset their password on next login
Created by c.neale, last updated 16 Dec 2020
An administrator can force a user to reset their password when they next login by by POST'ing an action with type 'forcePasswordReset' to the user's actions endpoint.
POST/api/management/security/users/{userIdentifier}/actions/
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 |
Example
Force a password reset
POST: /api/management/security/users/82f73a9b-2a13-4d63-bcc1-e8ee5047b01c/actions/
{
"type": "forcePasswordReset"
}