TrueSight API Documentation
OverviewAccountActionsAdministration
Alarms v1Alarms v2BatchingDashboards
DatasetsEventsExtended Metrics
HostgroupsGroupsMetersMetricsProduct
PluginsRelaysSourcesSynchronize Data
Tenants
Terms

DELETE/v1/metrics/:metric

Removes a metric from the account. Note that a metric will not deleted if it has been alarmed unless that removeAlarms flag is added.

Request URL parameters

metric

The name of the metric to delete

Request BODY properties

removeAlarms

A boolean, set to true to remove associated alarms

Example request

curl https://api.truesight.bmc.com/v1/metrics/MY_COOL_METRIC \
-X DELETE \
-u <email>:<api-token> \
-H "Content-Type: application/json" \
-d '
{
   "removeAlarms": true
}'