Skip to main content
DELETE
/
metric
/
{id}
cURL
curl --request DELETE \
  --url http://sandbox.batuenergy.com/api/v1/metric/{id} \
  --header 'Authorization: Bearer <token>'
{
  "status": "success",
  "data": {
    "execution": "exe_<uuid>",
    "message": "Metric deleted successfully"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

Id of metric to delete

Response

Metric response

status
string
required

Indicates the request was successful

Example:

"success"

data
object
required

The data associated with the response