---
title: "Execute DR Failover jobs"
method: POST
path: "/draasconfig/v2/orgs/{OrgID}/jobs/failover"
tags: ["DRaaS"]
---

# Execute DR Failover jobs

`POST /draasconfig/v2/orgs/{OrgID}/jobs/failover`

Executes the Test or Production DR failover jobs for all virtual machines in the selected DR Plan.

## Path parameters

- `OrgID` integer, required

## Request body

- FailoverRequestParams — FailoverRequestParams are all the user inputs required for a failover job request
  - `drPlanID` integer, required — The DR Plan ID for which a failover needs to be initiated. Get the ID of the DR Plan using the 'List all DR Plans' API.
  - `failoverType` integer, required — Set 'failoverType' to 1 to run a Test DR Failover job and 2 to run a Production DR failover job.

## Response `200`

Success

- FailoverJobResponse — FailoverJobResponse is response to failover request
  - `jobID` integer — Job ID for successfully triggered failover job

## Other responses

- `400` — Bad Request
- `404` — The requested resource was not found.
- `500` — The request was not processed due to an internal error in Cloud.

---

[API](https://skmtc.net/druva/apis/authentication.md) · [All operations](https://skmtc.net/druva/apis/authentication/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/druva/authentication/revisions/2af2bf148b25/schema)
