Deletes a Logstore group.
This topic provides an example to show how to delete a Logstore group named Logstore_test
. The response shows that the Logstore group is deleted.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DeleteHybridMonitorSLSGroup |
The operation that you want to perform. Set the value to DeleteHybridMonitorSLSGroup. |
SLSGroupName | String | Yes | Logstore_test |
The name of the Logstore group. For information about how to obtain the name of a Logstore group, see DescribeHybridMonitorSLSGroup. |
For more information about common request parameters, see Common parameters.
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
Code | String | 200 |
The HTTP status code. Note The status code 200 indicates that the call is successful.
|
Message | String | RESOURCE_NOT_FOUND |
The error message. |
RequestId | String | 85198BFF-1DE6-556E-B6A4-C77C51C62B8D |
The ID of the request. |
Success | String | true |
Indicates whether the call is successful. Valid values:
|
Examples
Sample requests
http(s)://[Endpoint]/?Action=DeleteHybridMonitorSLSGroup
&SLSGroupName=Logstore_test
&<Common request parameters>
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<DeleteHybridMonitorSLSGroupResponse>
<RequestId>85198BFF-1DE6-556E-B6A4-C77C51C62B8D</RequestId>
<Code>200</Code>
<Success>true</Success>
</DeleteHybridMonitorSLSGroupResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "85198BFF-1DE6-556E-B6A4-C77C51C62B8D",
"Code" : 200,
"Success" : true
}
Error codes
For a list of error codes, visit the Error Center.