Security
Return minimum password strength
This function retrieves the minimum password strength for cPanel & WHM accounts.
get/getminimumpasswordstrengths
Query parameters
name'default' | 'createacct' | 'ftp' | 'list' | 'mysql' | 'passwd' | 'postgres' | 'sshkey' | 'virtual'
Example:default
The service for which to display the minimum password value. If you do not use this parameter, this function returns the minimum password setting for all values.
- default - All services
- createacct - New cPanel accounts
- list - Mailing lists
- mysql - MySQL® database users
- passwd - WHM user or system accounts
- postgres - PostgreSQL database users
- sshkey - SSH keys
- virtual - Mail, FTP, Web Disk, and WebDAV accounts
Response
HTTP Request was successful.
Example response
{
"data": {
"createacct": 50,
"default": 50,
"ftp": 50,
"list": 50,
"mysql": 50,
"passwd": 50,
"postgres": 50,
"sshkey": 50,
"virtual": 50
},
"metadata": {
"command": "getminimumpasswordstrengths",
"reason": "OK",
"result": 1,
"version": 1
}
}