TrueSight API Documentation
OverviewAccountActionsAdministration
Alarms v1Alarms v2BatchingDashboards
DatasetsEventsExtended Metrics
GroupsHostgroupsMetersMetricsProduct
PluginsRelaysSourcesSource-TagsSynchronize Data
Tenants
Terms

DELETE/v1/metrics/:metric

Removes a metric from the account. Note that a metric will not be deleted if it has been alarmed unless the 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

forceRemove

A boolean, set to true to remove metric even if indelible

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
}'