Resetting the Password of a Device Account

Message instance

{
    "header": {
        "msg_id": "741aec66-99b2-4d97-aaf2-63d27f53bbc5",
        "parent_msg_id": "",
        "timestamp": 1550107087319,
        "sync": false
    },
    "route": {
        "source": "EdgeManager",
        "group": "hardware",
        "operation": "update",
        "resource": "websocket/passthrough/account_modify"
    },
    "content": {
    }
}
Parameter description
The content message is described as follows:
{
     "account": account,
     "new_password": new_password
}
Table 1

Level-1 Resource

Description

Type

Value Range

account

User name

string

Value: admin

This function will reset the passwords of the web login account. For details, see the FusionDirector Operation Guide.

new_password

New password

string

A string of 8 to 20 characters.
  • If password complexity check is enabled for other ports, the password must meet password complexity requirements.
  • If password complexity check is disabled for other ports, the password can be empty or any string.
Result returned
{
    "header":{
        "msg_id":"8a44d9c0-05c9-4325-b530-fa5c4a5145f2",
        "parent_msg_id": "",
        "timestamp":1652269263083,
        "sync": false
    },
    "route":{
        "source":"hardware",
        "group":"hub",
        "operation":"update",
        "resource":"websocket/config_result"
    },
    "content":"{"topic": "passthrough/account_modify", "percentage": "100%", "result": "success", "reason": ""}"
}