Update Web Disk account password

This function changes the Web Disk account's password.

Important:

When you disable the Web Disk role, the system disables this function.

SecurityBasicAuth
Request
query Parameters
password
required
string

The Web Disk account's password.

Example: password=123456luggage
user
required
string <email>

The Web Disk account username.

Example: user=example1@example.com
enabledigest
integer
Default: 0

Whether to enable Digest Authentication.

  • 1 - Enable Digest Authentication.
  • 0 - Disable Digest Authentication.
Enum: 0 1
Example: enabledigest=0
Responses
200

HTTP Request was successful.

Response Schema: application/json
apiversion
integer

The version of the API.

func
string

The name of the method called.

module
string

The name of the module called.

object
get/WebDisk/set_password
Request samples
uapi --output=jsonpretty \
  --user=username \
  WebDisk \
  set_password \
  user='example1@example.com' \
  password='123456luggage'
Response samples
application/json
{
  • "apiversion": 3,
  • "func": "set_password",
  • "module": "WebDisk",
  • "result": {
    • "data": null,
    • "errors": null,
    • "messages": null,
    • "metadata": { },
    • "status": 1,
    • "warnings": null
    }
}