No description available
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>"
}
API key authentication
id of e2m to be deleted
A successful response.
This data structure is obtained when deleting an existing event to metric definition
Was this page helpful?
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>"
}
No description available
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>"
}
API key authentication
id of e2m to be deleted
A successful response.
This data structure is obtained when deleting an existing event to metric definition
Was this page helpful?
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>"
}