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.

Authorizations:
query Parameters
issuer
required
string

The issuer's name.

Example: issuer=hostname.example.com

Responses

Response Schema: application/json
object

Request samples

whmapi1 --output=jsonpretty \
  twofactorauth_set_issuer \
  issuer='hostname.example.com'

Response samples

Content type
application/json
{
  • "metadata": {
    • "command": "twofactorauth_set_issuer",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}