All Products
Search
Document Center

Elastic Compute Service:DeleteDeploymentSet

Last Updated:Mar 19, 2024

You can call this operation to delete a deployment set.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringYes

The region ID of the deployment set. You can call the DescribeRegions operation to query the most recent region list.

cn-hangzhou
DeploymentSetIdstringYes

The ID of the deployment set. You cannot delete a deployment set that contains instances.

ds-bp1g5ahlkal88d7x****

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E

Examples

Sample success responses

JSONformat

{
  "RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E"
}

Error codes

HTTP status codeError codeError messageDescription
400MissingParameterThe input parameter "DeploymentSetId" that is mandatory for processing this request is not supplied.-
403DependencyViolation.NotEmptyThere are still instance(s) in the specified DeploymentSetId.Instances still exist in the specified DeploymentSetId.
403DependencyViolation.ReferByHPCThe specified deployment set is still referred by an HPC cluster.-

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history