No description available
const fetch = require('node-fetch');
let url = 'https://api.coralogix.com/mgmt/openapi/enrichments?enrichmentIds=SOME_ARRAY_VALUE';
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));
{
"remainingEnrichments": [
{
"id": 1,
"fieldName": 1,
"enrichmentType": {
"geoIp": {
"withAsn": true
},
"suspiciousIp": {},
"aws": {
"resourceType": "ec2"
},
"customEnrichment": {
"id": 1
}
},
"enrichedFieldName": 1,
"selectedColumns": [
"city",
"population"
]
}
]
}
API key authentication
A successful response.
Response data structure for enrichments deletion
Was this page helpful?
const fetch = require('node-fetch');
let url = 'https://api.coralogix.com/mgmt/openapi/enrichments?enrichmentIds=SOME_ARRAY_VALUE';
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));
{
"remainingEnrichments": [
{
"id": 1,
"fieldName": 1,
"enrichmentType": {
"geoIp": {
"withAsn": true
},
"suspiciousIp": {},
"aws": {
"resourceType": "ec2"
},
"customEnrichment": {
"id": 1
}
},
"enrichedFieldName": 1,
"selectedColumns": [
"city",
"population"
]
}
]
}
No description available
const fetch = require('node-fetch');
let url = 'https://api.coralogix.com/mgmt/openapi/enrichments?enrichmentIds=SOME_ARRAY_VALUE';
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));
{
"remainingEnrichments": [
{
"id": 1,
"fieldName": 1,
"enrichmentType": {
"geoIp": {
"withAsn": true
},
"suspiciousIp": {},
"aws": {
"resourceType": "ec2"
},
"customEnrichment": {
"id": 1
}
},
"enrichedFieldName": 1,
"selectedColumns": [
"city",
"population"
]
}
]
}
API key authentication
A successful response.
Response data structure for enrichments deletion
Was this page helpful?
const fetch = require('node-fetch');
let url = 'https://api.coralogix.com/mgmt/openapi/enrichments?enrichmentIds=SOME_ARRAY_VALUE';
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));
{
"remainingEnrichments": [
{
"id": 1,
"fieldName": 1,
"enrichmentType": {
"geoIp": {
"withAsn": true
},
"suspiciousIp": {},
"aws": {
"resourceType": "ec2"
},
"customEnrichment": {
"id": 1
}
},
"enrichedFieldName": 1,
"selectedColumns": [
"city",
"population"
]
}
]
}