View all methods

customMetrics.delete

Deprecated — This API method has been deprecated. Use Custom Tables instead.

Delete a custom metrics record by unique ID.

Facts

Method POST https://yourinstance.getdx.net/api/customMetrics.delete

Arguments

Name Type Description
token Token Auth token passed as an HTTP header.
id Text Generated unique ID for the record.

Usage info

Custom metrics API methods can be used to add arbitrary time series metrics to your DX database. The records are stored in the custom_metrics table that is queryable in alongside the rest of your DX data.

Example request

This is a typical request:

curl -X POST https://yourinstance.getdx.net/api/customMetrics.delete \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer xxxx-xxxxxxxxx-xxxx' \
  -H 'Content-Type: application/json' \
  --data '{
    "id": "399599e8-a526-4073-ba7f-cfada89adfa0"
  }'