
Commit Failback
You can commit failback for a plan with the specified ID.
Request
To finalize failback from VM replicas to original VMs, send the HTTP POST request to the URL of the /FailoverPlans/{id}/Run resource.
HTTP Request
POST https://<hostname>:<port>/v2/FailoverPlans/{id}/Run |
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. |
Content-Type | required | application/json | Identifies a media type that is used in the body of the request. |
Accept | optional |
| 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. |
Request Body
In the request body, you must send the mode parameter with the "CommitFailBack" value.
{ "mode": "CommitFailBack" } |
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 |
| Identifies the media type of the response body message. |
Example
The following example performs the commit failback operation for a failover plan with the ID b8517d70-028d-4740-a130-787e164a3d83.
|