Return minimum required password strength

This function retrieves an application's minimum required password strength.

SecurityBasicAuth
Request
query Parameters
app
required
string

The application's name.

Enum: "cpaddons" "createacct" "ftp" "htaccess" "mysql" "passwd" "pop" "postgres" "sshkey" "webdisk" "virtual"
Example: app=webdisk
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/PasswdStrength/get_required_strength
Request samples
uapi --output=jsonpretty \
  --user=username \
  PasswdStrength \
  get_required_strength \
  app='webdisk'
Response samples
application/json
{
  • "apiversion": 3,
  • "func": "get_required_strength",
  • "module": "PasswdStrength",
  • "result": {
    • "data": {
      • "strength": 0
      },
    • "errors": null,
    • "messages": null,
    • "metadata": { },
    • "status": 1,
    • "warnings": null
    }
}