Partager via


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=2015-10-31

Paramètres URI

Nom Dans Obligatoire Type Description
automationAccountName
path True

string

Nom du compte Automation.

resourceGroupName
path True

string

minLength: 1
maxLength: 90
pattern: ^[-\w\._]+$

Nom d’un groupe de ressources Azure.

subscriptionId
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.

webhookName
path True

string

Nom du webhook.

api-version
query True

string

Version de l’API cliente.

Réponses

Nom Type Description
200 OK

D’ACCORD

Other Status Codes

ErrorResponse

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=2015-10-31

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é.