Share via


Storage Accounts - Reclaim Storage Capacity

Start reclaim storage capacity on deleted storage objects.

POST https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Storage.Admin/locations/{location}/reclaimStorageCapacity?api-version=2019-08-08-preview

URI Parameters

Name In Required Type Description
location
path True

string

Resource location.

subscriptionId
path True

string

Subscription Id.

api-version
query True

string

REST Api Version.

Responses

Name Type Description
200 OK

OK -- Reclaim storage capacity has completed.

202 Accepted

Accepted -- reclaim storage capacity operation triggered; operation will complete asynchronously.

Other Status Codes

ErrorResponse

Error Response.

Security

azure_auth

Authorization uses an Azure Active Directory OAuth2 flow.

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation impersonate your user account

Examples

Start reclaim storage capacity on deleted storage objects.

Sample request

POST https://management.azure.com/subscriptions/9ad61516-995c-4873-a21f-7e44904f0ed2/providers/Microsoft.Storage.Admin/locations/local/reclaimStorageCapacity?api-version=2019-08-08-preview

Sample response

Definitions

ErrorResponse

The error response for request which failed.

Name Type Description
code

string

The error description code.

details

string[]

The error details information.

message

string

The error description message.

target

string

The error target description.