Delete Web Disk account

This function deletes a Web Disk account.

Important:

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

SecurityBasicAuth
Request
query Parameters
destroy
required
integer

Whether to recursively delete the Web Disk account's folder and all of its contents.

  • 1 - Delete the folder for the Web Disk account
  • 0 - Do not delete the folder for the Web Disk account.
Enum: 0 1
Example: destroy=1
user
required
string <email>

The Web Disk account username.

Example: user=example1@example.com
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/delete_user
Request samples
uapi --output=jsonpretty \
  --user=username \
  WebDisk \
  delete_user \
  user='example1@example.com' \
  destroy='1'
Response samples
application/json
{
  • "apiversion": 3,
  • "func": "delete_user",
  • "module": "WebDisk",
  • "result": {
    • "data": null,
    • "errors": null,
    • "messages": null,
    • "metadata": { },
    • "status": 1,
    • "warnings": null
    }
}