All Products
Search
Document Center

Managed Service for Prometheus:DeleteEnvironmentFeature

Last Updated:Aug 28, 2026

Deletes a feature from an environment.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

EnvironmentId

string

Yes

The ID of the environment.

env-xxx

RegionId

string

No

The region ID. Valid values: cn-beijing and cn-hangzhou.

cn-hangzhou

FeatureName

string

Yes

The feature name. Valid values: app-agent-pilot, metric-agent, ebpf-agent, and service-check.

metric-agent

Response elements

Element

Type

Description

Example

object

The response body.

RequestId

string

The request ID.

2A0CEDF1-06FE-44AC-8E21-21A5BE65****

Code

integer

The HTTP status code. A value of 200 indicates success. Other values indicate failure.

200

Message

string

The returned message.

success

Success

boolean

Indicates whether the request was successful.

true

Data

string

The returned message.

success

Examples

Success response

JSON format

{
  "RequestId": "2A0CEDF1-06FE-44AC-8E21-21A5BE65****",
  "Code": 200,
  "Message": "success",
  "Success": true,
  "Data": "success"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.