Stops the restore session with a specified ID.
Request
To stop a restore session, send the POST HTTPS request to the URL of the /RestoreSessions/{ID}/Action resource.
HTTPS Request
POST https://<Backup-Office365>:4443/v2/RestoreSessions/{ID}/Action |
Request Headers
The request contains the following headers:
Header | Required | Description |
---|---|---|
Content-Type: application/json | true | Specifies the type of the content for your request. |
Authorization: Bearer <Access-Token> | true | The request header must contain the authorization token for the current logon session. |
Request Body
To stop a restore session, the request body must contain the following line:
{"stop": null} |
Response
The server returns the following response to the client.
Response Codes
A successfully completed operation returns response code 200 OK.
Response Headers
The response to this request contains the following headers. The response may also include additional standard HTTPS 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 |
Response Body
None.
Example
The example below shows how to stop a restore session with ID 0800471b-d0e2-422b-9d7c-35d15661c3fb.
Request: POST https://support.east.local:4443/v2/RestoreSessions/0800471b-d0e2-422b-9d7c-35d15661c3fb/Action
Request Header: Content-Type: application/json Authorization: Bearer <Access-Token>
Request Body: { "stop": null }
Response: 200 OK |