cPanel WHM icon

cPanel WHM

Full cPanel WHM API — all 622 operations across Accounts, DNS, Mail, SSL, Backups, Databases and more

Actions262

Backup → Enable or disable legacy backups

AI-generated

Summary

Toggle the legacy backup system status for a specified cPanel account by enabling or disabling its legacy backups.

Inputs

  • User (required) — Provide the cPanel account's username to specify which account's legacy backup status to modify.
  • Legacy (Additional Field) — Optionally select whether to use the legacy backup system (1 to enable, 0 to disable). Defaults to 0 (standard backup system).

Output shape

a JSON object containing the WHM API response that indicates the success or failure of toggling the legacy backup state for the specified user account.

The response includes status and any error messages returned by the WHM API. The operation requires a valid cPanel username and optionally a legacy flag to set the backup system state.

Links

Discussion