Delete an automation account
The Delete an automation account operation deletes a specified automation account.
To specify the request, replace <subscription-id> with your subscription ID, <cloud-service-name> with the name of the cloud service to use for making the request, and <automation-account-name> with the name of the automation account to delete. Include required URI parameters.
Method | Request URI |
|---|---|
DELETE | https://management.core.windows.net/<subscription-id>/cloudServices/<cloud-service-name>/resources/automation/AutomationAccount/<automation-account-name>?resourceType=AutomationAccount&detailLevel=Full&resourceProviderNamespace=automation |
Uri Parameter | Description |
|---|---|
resourceType | Required. Specify "AutomationAccount". |
detailLevel | Required. Specify "Full". |
resourceProviderNamespace | Required. Specify "automation". |
The request header in the following table is required.
Request Header | Description |
|---|---|
x-ms-version | Specifies the version of the operation. Set to 2013-06-01 or a later version. |
None
An operation returns 202 (Accepted) for an asynchronous operation. Use the Get Operation Status operation to determine its current status. You’ll need the request ID that was returned in the response.
For information about common error codes, see Service Management Status and Error Codes. For all error codes, see HTTP/1.1 Status Code Definitions.
Request Header | Description |
|---|---|
x-ms-request-id | A unique identifier for the current operation. Use this value to determine the current status of an asynchronous operation. |
None