Help Center
Choose product document...
Veeam Availability Orchestrator 2.0
REST API Reference

Undo Failover

You can perform an undo operation for a failover plan in the FAILOVER state.

Request

To power off running VM replicas on target hosts and roll back to initial state of VM replicas, send the HTTP POST request to the URL of the /FailoverPlans/{id}/Undo resource.

HTTP Request

POST https://<hostname>:<port>/v2/FailoverPlans/{id}/Undo

Request Headers

The request contains the following headers.

Header

Required/Optional

Value

Description

Authorization

required

Bearer <Access-Token>

Authenticates a client who sends the request to the server. Must contain the access token for the current logon session in the Bearer <Access-Token> format.

Accept

optional

  • application/xml
  • text/json
  • application/json

Specifies a media type of representation that is required in the response message. If the requested type is not supported, the server will return the response in the application/json media type.

Response

The server returns the following response to the client.

Response Code

A successfully completed operation returns response code 200 Success.

Response Headers

The response to this request contains the following headers. The response may also include additional standard HTTP headers.

Header

Value

Description

Content-Length

integer

Identifies the length of the response body message, in bytes.

Content-Type

  • application/xml
  • text/json
  • application/json

Identifies the media type of the response body message.

Example Undo Failover

The following example performs an undo operation for a failover plan with the ID ed1e67cf-f059-4722-bf2e-08f016d0b7b8.

Request:

POST https://uwin2012r2.n.local:9899/v2/FailoverPlans/ed1e67cf-f059-4722-bf2e-08f016d0b7b8/Undo

 

Request Header:

Authorization: Bearer <Access-Token>

 

Response:

200 Success

 

Response Body:

no content

Veeam Large Logo

User Guide

Deployment Guide

Group Management Guide

REST API Reference