All Products
Search
Document Center

Security Center:DeleteGroup

Last Updated:Mar 21, 2023

Deletes a server group.

Operation Description

The Default server group that is provided by Security Center cannot be deleted. After you delete a group, the assets in this group are moved to the Default group.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
SourceIpstringNo

The source IP address of the request.

192.172.XX.XX
GroupIdlongYes

The ID of the server group that you want to delete.

NoteTo delete a server group, you must provide the ID of the server group. You can call the DescribeAllGroups operation to query the ID.
9454789

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request, which is used to locate and troubleshoot issues.

7E0618A9-D5EF-4220-9471-C42B5E92719F
Codestring

The status code returned. The status code 200 indicates that the request was successful. Other status codes indicate that the request failed. You can identify the cause of the failure based on the status code.

200

Examples

Sample success responses

JSONformat

{
  "RequestId": "7E0618A9-D5EF-4220-9471-C42B5E92719F",
  "Code": "200"
}

Error codes

HTTP status codeError codeError messageDescription
403NoPermissioncaller has no permissionYou are not authorized to do this operation.
500ServerErrorServerError-

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

Change history

Change timeSummary of changesOperation
2022-12-22API Description Update,The API operation is not deprecated.,The response structure of the API operation changes.
Change itemChange content
API DescriptionAPI Description Update
API Deprecation DescriptionThe API operation is not deprecated.
Output ParametersThe response structure of the API operation changes.
2022-08-01The internal configurations of the API operation change but you can still call the operation.
Change itemChange content
The internal configurations of the API operation change but you can still call the operation.
2022-08-01The internal configurations of the API operation change but you can still call the operation.
Change itemChange content
The internal configurations of the API operation change but you can still call the operation.