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

let url = 'https://api.coralogix.com/mgmt/openapi/enrichments';

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": [
    {
      "enrichedFieldName": 1,
      "enrichmentType": {
        "geoIp": {
          "withAsn": true
        }
      },
      "fieldName": 1,
      "id": 1,
      "selectedColumns": [
        [
          "city",
          "population"
        ]
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

API key authentication

Response

200 - application/json

Response data structure for enrichments deletion

remainingEnrichments
Enrichment · object[]
required
I