
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 POST HTTPS request to the URL of the /FailoverPlans/{id}/Undo resource:
HTTP Request
POST https://<hostname>:<port>/v1/FailoverPlans/{id}/Undo |
Request Headers
The request header must contain the authorization token for the current logon session.
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 | Description |
Content-length | The length of the response body. |
Content-type | The media type and syntax of the request body message: application/json; charset=utf-8 |
Example
The following example performs an undo operation for the failover plan with the ed1e67cf-f059-4722-bf2e-08f016d0b7b8 ID.
Request: POST https://uwin2012r2.n.local:9899/v1/FailoverPlans/ed1e67cf-f059-4722-bf2e-08f016d0b7b8/Undo
Request Header: Authorization: Bearer <Access-Token>
Response: 200 Success
Response Body: no content |