All Products
Search
Document Center

Managed Service for Prometheus:DeleteEnvPodMonitor

Last Updated:May 09, 2024

Deletes the PodMonitor of an environment.

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
RegionIdstringYes

The region ID.

cn-hangzhou
EnvironmentIdstringYes

Environment instance ID.

env-xxxxxx
NamespacestringYes

The namespace where podMonitor is located

arms-prom
PodMonitorNamestringYes

PodMonitor name.

arms-admin-pm1

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

RequestIdstring

Id of the request

626037F5-FDEB-45B0-804C-B3C92797****
Codeinteger

The status code. The status code 200 indicates that the request was successful.

200
Datastring

The data returned.

success
Messagestring

The returned message.

success

Examples

Sample success responses

JSONformat

{
  "RequestId": "626037F5-FDEB-45B0-804C-B3C92797****",
  "Code": 200,
  "Data": "success",
  "Message": "success"
}

Error codes

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

Change history

Change timeSummary of changesOperation
No change history