Remove Azure SQL Restore Point

In this article

    You can remove a restore point with the specified ID from the Veeam Backup for Microsoft Azure configuration database.

    Request

    To remove a manual snapshot, send the HTTP DELETE request to the /restorePoints/sql/{restorePointId} endpoint {restorePointId} is a system ID assigned to the restore point in the Veeam Backup for Microsoft Azure REST API.

    HTTP Request

    DELETE https://<hostname>/api/v3/restorePoints/sql/{restorePointId}

    Request Headers

    The request contains the following headers.

    Header

    Required

    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.

    Response

    The server returns the following response to the client.

    Response Codes

    A successfully completed operation returns a response code 200 (OK).

    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/json
    • application/problem+json

    Identifies the media type of the response body message.

    Remove Azure VM Restore Points_2Example

    The following request removes a repository with the ID c0d81a03-4c2e-4849-8199-e08737a6d834  from the Veeam Backup for Microsoft Azure database.

    Request:

    DELETE https://51.11.247.127/api/v3/restorePoints/sql/c0d81a03-4c2e-4849-8199-e08737a6d834

     

    Request Header:

    Authorization: Bearer <Access-Token>

     

    Response:

    200

     

    Response Header:

    {

     "id": "c0d81a03-4c2e-4849-8199-e08737a6d834",

     "type": "ManualSnapshotDeletion",

     "executionStartTime": "2020-12-01T12:45:39.2504267Z",

     "executionDuration": "00:00:00.0532429",

     "status": "Running",

     "_links": {

       "self": {

         "href": "https://51.11.247.127/api/v3/jobSessions/c0d81a03-4c2e-4849-8199-e08737a6d834"

       },

       "log": {

         "href": "https://51.11.247.127/api/v3/jobSessions/c0d81a03-4c2e-4849-8199-e08737a6d834/log"

       }

     },

    }