Webhook - Delete
Ta bort webhooken efter namn.
DELETE https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/webhooks/{webhookName}?api-version=2024-10-23
URI-parametrar
| Name | I | Obligatorisk | Typ | Description |
|---|---|---|---|---|
|
automation
|
path | True |
string |
Namnet på automationskontot. |
|
resource
|
path | True |
string minLength: 1maxLength: 90 pattern: ^[-\w\._]+$ |
Namnet på en Azure-resursgrupp. |
|
subscription
|
path | True |
string |
Hämtar prenumerationsautentiseringsuppgifter som unikt identifierar Microsoft Azure-prenumeration. Prenumerations-ID:t utgör en del av URI:n för varje tjänstanrop. |
|
webhook
|
path | True |
string |
Webhookens namn. |
|
api-version
|
query | True |
string |
Klient-API-version. |
Svar
| Name | Typ | Description |
|---|---|---|
| 200 OK |
OKEJ |
|
| Other Status Codes |
Automation-felsvar som beskriver varför åtgärden misslyckades. |
Säkerhet
azure_auth
Azure Active Directory OAuth2-flöde
Typ:
oauth2
Flow:
implicit
Auktoriseringswebbadress:
https://login.microsoftonline.com/common/oauth2/authorize
Omfattningar
| Name | Description |
|---|---|
| user_impersonation | personifiera ditt användarkonto |
Exempel
Delete webhook
Exempelbegäran
DELETE https://management.azure.com/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/webhooks/TestWebhook?api-version=2024-10-23
Exempelsvar
Definitioner
ErrorResponse
Felsvar på ett åtgärdsfel
| Name | Typ | Description |
|---|---|---|
| code |
string |
Felkod |
| message |
string |
Felmeddelande som anger varför åtgärden misslyckades. |