MetricDescriptors: delete

Requires authorization

Delete an existing metric. Try it now.

Request

HTTP request

DELETE https://www.googleapis.com/cloudmonitoring/v2beta2/projects/project/metricDescriptors/metric

Parameters

Parameter name Value Description
Path parameters
metric string Name of the metric.
project string The project ID to which the metric belongs.

Authorization

This request requires authorization with at least one of the following scopes (read more about authentication and authorization).

Scope
https://www.googleapis.com/auth/monitoring
https://www.googleapis.com/auth/cloud-platform

Request body

Do not supply a request body with this method.

Response

If successful, this method returns a response body with the following structure:

{
  "kind": "cloudmonitoring#deleteMetricDescriptorResponse"
}
Property name Value Description Notes
kind string Identifies what kind of resource this is. Value: the fixed string "cloudmonitoring#deleteMetricDescriptorResponse".

Try it!

Use the APIs Explorer below to call this method on live data and see the response. Alternatively, try the standalone Explorer.

Send feedback about...

Stackdriver Monitoring