Subscriptions - Delete
Verwijder het opgegeven abonnement.
DELETE https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Subscriptions.Admin/subscriptions/{targetSubscriptionId}?api-version=2015-11-01
URI-parameters
| Name | In | Vereist | Type | Description |
|---|---|---|---|---|
|
subscription
|
path | True |
string |
Abonnementsreferenties die het Microsoft Azure-abonnement uniek identificeren. De abonnements-id maakt deel uit van de URI voor elke serviceoproep. |
|
target
|
path | True |
string |
De id van het doelabonnement. |
|
api-version
|
query | True |
string |
Client-API-versie. |
Antwoorden
| Name | Type | Description |
|---|---|---|
| 200 OK |
OK |
|
| 204 No Content |
Geen inhoud |
|
| Other Status Codes |
Onverwachte fout |
Beveiliging
azure_auth
Azure Active Directory OAuth2-stroom
Type:
oauth2
Stroom:
implicit
Autorisatie-URL:
https://login.microsoftonline.com/common/oauth2/authorize
Bereiken
| Name | Description |
|---|---|
| user_impersonation | Uw gebruikersaccount imiteren |
Voorbeelden
Delete the specified subscription.
Voorbeeldaanvraag
DELETE https://management.azure.com/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Subscriptions.Admin/subscriptions/c79389af-4480-48cc-8fa2-ee8ced8e843d?api-version=2015-11-01
Voorbeeldrespons
Definities
| Name | Description |
|---|---|
| Error |
Foutreactie. |
|
Error |
Foutdefinitie. |
Error
Foutreactie.
| Name | Type | Description |
|---|---|---|
| error |
De foutdetails. |
ErrorDefinition
Foutdefinitie.
| Name | Type | Description |
|---|---|---|
| code |
string |
Servicespecifieke foutcode die fungeert als de substatus voor de HTTP-foutcode. |
| details |
Interne foutdetails. |
|
| message |
string |
Beschrijving van de fout. |