v1

latestOpenAPI 3.0.2cPanel License2026-08-06657427.1 MB
WebDisk
WebDisk Settings

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.

get/WebDisk/set_password

Query parameters

passwordstring required
Example:123456luggage

The Web Disk account's password.

userstring email required
Example:example1@example.com

The Web Disk account username.

enabledigest0 | 1

Whether to enable Digest Authentication.

  • 1 - Enable Digest Authentication.
  • 0 - Disable Digest Authentication.

Response

HTTP Request was successful.

apiversioninteger

The version of the API.

funcstring

The name of the method called.

modulestring

The name of the module called.

Example response

{
  "apiversion": 3,
  "func": "set_password",
  "module": "WebDisk",
  "result": {
    "status": 1
  }
}