DELETE
/
api
/
v2
/
events2metrics
/
{id}
const fetch = require('node-fetch');

let url = 'https://api.coralogix.com/mgmt/openapi/api/v2/events2metrics/%7Bid%7D';

let options = {method: 'DELETE', headers: {Authorization: 'Bearer <API_KEY>'}};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error('error:' + err));
{
  "id": "<string>"
}

Authorizations

Authorization
string
header
required

API key authentication

Path Parameters

id
string
required

id of e2m to be deleted

Response

200
application/json

A successful response.

This data structure is obtained when deleting an existing event to metric definition