Update 2FA issuer value

This function sets the issuer value that the system uses to generate the secret and otpurls values for Two-Factor Authentication on your accounts.

SecurityBasicAuth
Request
query Parameters
issuer
required
string

The issuer's name.

Example: issuer=hostname.example.com
Responses
200

HTTP Request was successful.

Response Schema: application/json
object
get/twofactorauth_set_issuer
Request samples
whmapi1 --output=jsonpretty \
  twofactorauth_set_issuer \
  issuer='hostname.example.com'
Response samples
application/json
{
  • "metadata": {
    • "command": "twofactorauth_set_issuer",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}