cPanel WHM icon

cPanel WHM

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

Actions262

Backup → Validate a backup destination

AI-generated

Summary

Validate a specified backup destination in cPanel WHM to check its configuration and optionally disable it if validation fails.

Inputs

  • Id (required) — The unique identifier of the backup destination to validate.
  • Disableonfail (required) — Option to disable the backup destination if validation fails; set to 1 to disable, or 0 to keep enabled.

Output shape

A single response object indicating the success or failure of the validation operation, including any error messages returned by WHM.

The output contains the validation result as returned by the WHM API. If validation fails and Disableonfail is set to 1, the destination will be disabled. Errors may be included in the response. No pagination applies.

Examples

Example 1: Validate a backup destination with ID '123' and disable it if validation fails

Id: '123', Disableonfail: 1

Links

Discussion