# Validate a backup destination

This function validates a backup destination.

Endpoint: GET /backup_destination_validate
Version: 11.138.0.10
Security: BasicAuth

## Query parameters:

  - `disableonfail` (integer, required)
    Whether to disable the backup destination if validation fails.

* 1 — Disable.
* 0 — Do not disable.
    Enum: 0, 1

  - `id` (string, required)
    The destination's ID.
    Example: "0W1ei2rd3A4lI5sT6he7Be8st"

## Response 200 fields (application/json):

  - `data` (object)

  - `data.id` (string)
    The destination's ID.
    Example: "0W1ei2rd3A4lI5sT6he7Be8st"

  - `metadata` (object)

  - `metadata.command` (string)
    The method name called.
    Example: "backup_destination_validate"

  - `metadata.reason` (string)
    The reason the API function failed when the metadata.result field is 0. This field may display a success message when a function succeeds.
    Example: "OK"

  - `metadata.result` (integer)
    * 1 — Success.
* 0 — Failed. Check the reason field for more details.
    Enum: 0, 1

  - `metadata.version` (integer)
    The version of the API function.
    Example: 1


