You can call this operation to delete an auto provisioning group.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | Yes | The region ID of the auto provisioning group. | cn-hangzhou |
AutoProvisioningGroupId | string | Yes | The ID of the auto provisioning group to be deleted. | apg-bpuf6jel2bbl62wh13**** |
TerminateInstances | boolean | Yes | Specifies whether to release instances in the auto provisioning group. Valid values:
| true |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "B48A12CD-1295-4A38-A8F0-0E92C937****"
}
Error codes
HTTP status code | Error code | Error message |
---|---|---|
400 | MissingParameter.InstanceType | The specified parameter "TerminateInstances" should be not empty. |
400 | MissingParameter | The specified parameter "AutoProvisioningGroupId" should not be null. |
403 | Forbidden.RAM | User not authorized to operate on the specified resource, or this API doesn't support RAM. |
403 | AutoProvisioningGroup.Unauthorized | Unauthorized to operate current action. |
403 | AutoProvisioningGroup.IncorrectStatus | Current status of AutoProvisioningGroup does not support curren action. |
404 | InvalidAutoProvisioningGroupId.NotFound | The specified AutoProvisioningGroupId does not exist. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
2023-12-27 | The Error code has changed | see changesets | ||||||||
|