Deletes a server group.
Operation description
You cannot delete the default server group provided by Security Center, which is Ungrouped. After you delete a group, the assets in the group are moved to Ungrouped by default.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DeleteGroup |
delete |
*Group
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SourceIp |
string |
No |
The source IP address of the request. |
192.172.XX.XX |
| GroupId |
integer |
Yes |
The ID of the server group that you want to delete. Note
To delete a server group, you must specify the server group ID. You can call the DescribeAllGroups operation to obtain the server group ID. |
9454789 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. Alibaba Cloud generates a unique ID for each request. You can use the ID to troubleshoot issues. |
7E0618A9-D5EF-4220-9471-C42B5E92719F |
| Code |
string |
The result code. A value of 200 indicates success. Other values indicate failure. You can use this field to determine the cause of the failure. |
200 |
Examples
Success response
JSON format
{
"RequestId": "7E0618A9-D5EF-4220-9471-C42B5E92719F",
"Code": "200"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.