DELETE
/
enrichments
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"
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

API key authentication

Query Parameters

enrichmentIds
integer[]
required

Response

200
application/json

A successful response.

Response data structure for enrichments deletion