latestOpenAPI 3.0.2cPanel License2026-08-106251554.3 MB

3da41671c02c

Authentication
Two-Factor Authentication

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.

get/twofactorauth_set_issuer

Query parameters

issuerstring required
Example:hostname.example.com

The issuer's name.

Response

HTTP Request was successful.

Example response

{
  "metadata": {
    "command": "twofactorauth_set_issuer",
    "reason": "OK",
    "result": 1,
    "version": 1
  }
}