All Products
Search
Document Center

CloudMonitor:DeleteHybridMonitorNamespace

Last Updated:Mar 01, 2024

Deletes a namespace.

Operation description

Note If a metric import task is created for metrics in a namespace, you cannot delete the namespace unless you delete the task first.

This topic provides an example on how to delete a namespace named aliyun. The response shows that the namespace is deleted.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
NamespacestringYes

The name of the namespace.

For information about how to obtain the name of a namespace, see DescribeHybridMonitorNamespaceList .

aliyun

For more information about common request parameters, see Common parameters.

Response parameters

ParameterTypeDescriptionExample
object

None.

Codestring

The returned message.

Success
Messagestring

The error message.

Namespace.NotFound
RequestIdstring

The request ID.

3843D23A-FB9E-5DC8-BCCC-458768B79296
Successstring

Indicates whether the request was successful. Valid values:

  • true
  • false
true

Examples

Sample success responses

JSONformat

{
  "Code": "Success",
  "Message": "Namespace.NotFound",
  "RequestId": "3843D23A-FB9E-5DC8-BCCC-458768B79296",
  "Success": "true"
}

Error codes

HTTP status codeError codeError message
400%s%s
500InternalError%s

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

Change history

Change timeSummary of changesOperation
2022-03-29Add Operationsee changesets