This function checks for username conflicts during account restoration. If the function detects a username conflict, it outputs an error message in the reason
return.
HTTP Request was successful.
object |
whmapi1 --output=jsonpretty \ verify_new_username_for_restore \ user='username'
{- "metadata": {
- "command": "verify_new_username_for_restore",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}