Enable or disable Digest Authentication

This function enables or disables Digest Authentication for an account. Windows Vista®, Windows® 7, and Windows® 8 requires that you enable Digest Authentication support in order to access your Web Disk over a clear text, unencrypted connection.

Note:

If the server has an SSL certificate that a recognized certificate authority signed and you can make an SSL connection over port 2078, you do not need to enable Digest Authentication.

SecurityBasicAuth
Request
query Parameters
enabledigest or digestauth
required
integer

Whether to enable Digest Authentication for the account.

  • 1 — Enable.
  • 0 — Disable.
Enum: 0 1
Example: enabledigest or digestauth=1
password
required
string

The account's password.

Example: password=123456luggage
user
required
string

The account's username.

Example: user=username
Responses
200

HTTP Request was successful.

Response Schema: application/json
object
get/set_digest_auth
Request samples
whmapi1 --output=jsonpretty \
  set_digest_auth \
  user='username' \
  password='123456luggage' \
  enabledigest or digestauth='1'
Response samples
application/json
{
  • "metadata": {
    • "command": "set_digest_auth",
    • "reason": "Digest Authentication enabled.",
    • "result": 1,
    • "version": 1
    }
}