Skip to main content
DELETE
/
metrics
/
{metric_code}
Delete a metric by Code
curl --request DELETE \
  --url https://api-m.paypal.com/v1/commerce/billing/metrics/{metric_code} \
  --header 'Authorization: Bearer <token>'
This response does not have an example.

Authorizations

Authorization
string
header
required

Use the /v1/oauth2/token endpoint to obtain an access token and pass it as a Bearer token in the Authorization header.

Path Parameters

metric_code
string
required

The code of the metric

Response

Metric deleted successfully

I