Skip to main content
node
const fetch = require('node-fetch');

let url = 'https://api.coralogix.com/mgmt/openapi/events2metrics/events2metrics/v2/d6a3658e-78d2-47d0-9b81-b2c551f01b09';

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
Example:

"d6a3658e-78d2-47d0-9b81-b2c551f01b09"

Response

200 - application/json

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

id
string
required
I