set-app-passwd

Use the interface to set or modify the password to pair app and the streamer.

HTTP Request

// Enable password
GET http://ip/usapi?method=set-app-passwd&is-pass=1&new-pass=xxx

// Disable password. The old password is required.
GET http://ip/usapi?method=set-app-passwd&is-pass=0&pass=xxx

// Modify password. The old password is required.
GET http://ip/usapi?method=set-app-passwd&is-pass=1&pass=xxx&new-pass=xxx
Parameter Description
method set-app-passwd
is-pass Indicates the enable status of the pairing password.
0 indicates it is disabled.
1 indicates it is enabled.
pass Indicates the MD5 encrypted old password. It is mandatory when you want to disable or modify the password.
new-pass Indicates the MD5 encrypted new password. It is mandatory when you want to enable or modify the password.

Response Body

{
  "result": 0
}
Item Description
result 0 indicates that the request was accepted successfully. Refer to API Status Codes to find specific description for other values.

results matching ""

    No results matching ""

    results matching ""

      No results matching ""