List Restorable Dropped Databases (classic)


THIS TOPIC APPLIES TO: noSQL Server yesAzure SQL DatabaseyesAzure SQL Data Warehouse noParallel Data Warehouse

Gets a list of restorable dropped databases for an Azure SQL Database server.


The recommended REST commands to work with SQL Database are the Resource Manager based Azure SQL Database REST API. While there is no change to SQL Database, be aware that the classic deployment model command in this article is scheduled for deprecation on December 1, 2019. For a table providing links to the specific new commands you should use, see Operations for Azure SQL Databases.


The List Restorable Dropped Databases request must be specified as follows:

  • Replace {subscription-id} with your subscription ID.

  • Replace {serverName} with the name of the server containing the databases you want to list.

Method Request URI HTTP Version
GET{subscriptionId}/services/sqlservers/servers/{serverName}/restorabledroppeddatabases?contentview=generic HTTP/1.1

Executing this method submits the request. The operation will begin processing and complete processing at some later time. Use Database Operation Status (classic) to report on the status of the operation.

URI Parameters


Request Headers

The following table describes the required and optional request headers:

Request Header Description
x-ms-version Required. Specifies the version of the operation to use for this request. This header should be set to 2012-03-01.

Request Body



The response includes an HTTP status code, a set of response headers, and a response body.

Status Code

Response Headers

The response for this operation includes the following headers. The response may also include additional standard HTTP headers. All standard headers conform to the HTTP/1.1 protocol specification.

Response Header Description
x-ms-request-id A value that uniquely identifies a request made against the database management service. This request id is used for request tracking. If a failure occurs that requires the user to contact Microsoft Support, the request id should be provided to Microsoft to assist in tracking and resolving the failure for the request.

Response Body

The following is an example response body:

<ServiceResources xmlns="" xmlns:i="">  

The following table describes the elements of the response body:

Element Name Description
Name The name of the database.
Type The type of the service resource; Microsoft.SqlAzure.RestorableDroppedDatabase.
State The state of the database.
SelfLink The URI identifier for this resource.
ParentLink The URI identifier for the parent of this resource (the server).
EntityId The identifier for the service resource.
ServerName The name of the Azure SQL Database server.
Edition The edition of the database.
MaxSizeBytes The max size of the database in bytes.
CreationDate The original creation date of the database.
DeletionDate The date the database was deleted.
RecoveryPeriodStartDate The starting date of the recovery period.

See Also

Restore a deleted Azure SQL database with REST API
Common REST API Error Codes
Azure SQL Database
Operations for Azure SQL Databases
Copying Databases in Azure SQL Database
Geo-Replication in Azure SQL Database
Azure SQL Database Cmdlets