Deletes a namespace.
This topic provides an example on how to delete a namespace named aliyun
. The returned result indicates that the namespace is deleted.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DeleteHybridMonitorNamespace |
The operation that you want to perform. Set the value to DeleteHybridMonitorNamespace. |
Namespace | String | Yes | aliyun |
The name of the namespace. For information about how to obtain the name of a namespace, see DescribeHybridMonitorNamespaceList. |
For more information about common request parameters, see Common parameters.
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
Code | String | Success |
Indicates whether the request was successful. |
Message | String | Namespace.NotFound |
The error message. |
RequestId | String | 3843D23A-FB9E-5DC8-BCCC-458768B79296 |
The ID of the request. |
Success | String | true |
Indicates whether the call was successful. Valid values:
|
Examples
Sample requests
http(s)://[Endpoint]/?Action=DeleteHybridMonitorNamespace
&Namespace=aliyun
&<Common request parameters>
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<DeleteHybridMonitorNamespace>
<RequestId>3843D23A-FB9E-5DC8-BCCC-458768B79296</RequestId>
<Code>Success</Code>
<Success>true</Success>
</DeleteHybridMonitorNamespace>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "3843D23A-FB9E-5DC8-BCCC-458768B79296",
"Code" : "Success",
"Success" : true
}
Error codes
For a list of error codes, visit the Error Center.