Dette indhold er ikke tilgængeligt på dit sprog, men her er den engelske version.

Delete Storage Account


Updated: February 24, 2016

The Delete Storage Account asynchronous operation deletes the specified storage account.

The Delete Storage Account request may be specified as follows. Replace <subscription-id> with your subscription ID, and <service-name> with the name of the storage account.


Request URI



The following table describes the request headers.

Request Header



Required. Specifies the version of the operation to use for this request. The value of this header must be set to 2011-06-01 or higher.

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

A successful operation returns status code 200 (OK).

The response for this operation includes the following headers. The response may also include additional standard HTTP headers.

Response Header



A value that uniquely identifies a request made against the management service. For an asynchronous operation, you can call Get Operation Status with the value of the header to determine whether the operation is complete, has failed, or is still in progress.

Use the Delete Storage Account operation to delete a storage account by name. Data stored in a deleted storage account cannot be recovered, and storage account names that have been deleted can be adopted by other users.

Before you delete a storage account, you must first delete all OS Images, VM Images, and disks that are located in the account. Asynchronous operations are used to delete artifacts from a storage account. You can use the Get Operation Status operation to make sure that the operations are finished before you try to delete the storage account. It may take up to 15 minutes for all operations to finish before the storage account can be deleted.