Share via


Delete a cloud service

 

The Delete a cloud service operation deletes the specified cloud service and all child resources including automation accounts.

Request

To specify the request, replace <subscription-id> with your subscription ID, and <cloud-service-name> with the name of the cloud service to delete.

Method

Request URI

DELETE

https://management.core.windows.net/<subscription-id>/cloudServices/<cloud-service-name>

URI Parameters

None.

Request Headers

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.

Request Body

Empty.

Response

Status Code

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.

Response Headers

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.

Response Body

None.

See Also

Automation Accounts
Automation Cloud Services
Operations on Automation