
Run Failback
You can start the replica failback process for a plan with the specified ID.
Request
To switch from VM replicas back to original VMs, send the POST HTTPS request to the URL of the /FailoverPlans/{id}/Run resource:
HTTP Request
POST https://<hostname>:<port>/v1/FailoverPlans/{id}/Run |
Request Headers
The request header must contain the authorization token for the current logon session.
Request Body
In the request body, you must send the mode parameter with the "Failback" value.
{ "mode": "Failback" } |
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 failback for the plan with the b8517d70-028d-4740-a130-787e164a3d83 ID.
Request: POST https://uwin2012r2.n.local:9899/v1/FailoverPlans/b8517d70-028d-4740-a130-787e164a3d83/Run
Request Header: Authorization: Bearer <Access-Token>
Request Body: { "mode": "Failback" }
Response: 200 Success
Response Body: no content |