This function forces a user to change the account password after the next login attempt.
HTTP Request was successful.
object | |
object |
whmapi1 --output=jsonpretty \ forcepasswordchange \ users_json='{"user1":1,"user2":1,"user3":1}'
{- "data": {
- "updated": [
- "user"
]
}, - "metadata": {
- "command": "forcepasswordchange",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}