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 the Ungrouped group 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. |
192.172.XX.XX |
| GroupId |
integer |
Yes |
Specifies the ID of the server group to delete. Note
To delete a server group, you must provide the server group ID. You can call the DescribeAllGroups operation to obtain the ID. |
9454789 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. The ID is a unique identifier generated by Alibaba Cloud for the request and can be used 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 | You are not authorized to do this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.