Validate cPanel account Digest Authentication

This function checks whether Digest Authentication is enabled for a cPanel user. Windows® Vista, Windows® 7, and Windows® 8 require Digest Authentication support in order to access Web Disk over an unencrypted connection.

SecurityBasicAuth
Request
query Parameters
user
required
string

The cPanel account username.

Example: user=username
Responses
200

HTTP Request was successful.

Response Schema: application/json
object
object
get/has_digest_auth
Request samples
whmapi1 --output=jsonpretty \
  has_digest_auth \
  user='username'
Response samples
application/json
{
  • "data": {
    • "digestauth": 1
    },
  • "metadata": {
    • "command": "has_digest_auth",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}