Webhook - Delete
Supprimez le webhook par nom.
DELETE https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/webhooks/{webhookName}?api-version=2024-10-23
Paramètres URI
| Nom | Dans | Obligatoire | Type | Description |
|---|---|---|---|---|
|
automation
|
path | True |
string |
Nom du compte Automation. |
|
resource
|
path | True |
string minLength: 1maxLength: 90 pattern: ^[-\w\._]+$ |
Nom d’un groupe de ressources Azure. |
|
subscription
|
path | True |
string |
Obtient les informations d’identification d’abonnement qui identifient de manière unique l’abonnement Microsoft Azure. L’ID d’abonnement fait partie de l’URI de chaque appel de service. |
|
webhook
|
path | True |
string |
Nom du webhook. |
|
api-version
|
query | True |
string |
Version de l’API cliente. |
Réponses
| Nom | Type | Description |
|---|---|---|
| 200 OK |
Ok |
|
| Other Status Codes |
Réponse d’erreur Automation décrivant pourquoi l’opération a échoué. |
Sécurité
azure_auth
Flux OAuth2 Azure Active Directory
Type:
oauth2
Flux:
implicit
URL d’autorisation:
https://login.microsoftonline.com/common/oauth2/authorize
Étendues
| Nom | Description |
|---|---|
| user_impersonation | emprunter l’identité de votre compte d’utilisateur |
Exemples
Delete webhook
Exemple de requête
DELETE https://management.azure.com/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/webhooks/TestWebhook?api-version=2024-10-23
Exemple de réponse
Définitions
ErrorResponse
Réponse d’erreur d’un échec d’opération
| Nom | Type | Description |
|---|---|---|
| code |
string |
Code d’erreur |
| message |
string |
Message d’erreur indiquant pourquoi l’opération a échoué. |