Skip to main content
Update Custom Enrichment
curl --request PUT \
  --url https://api.coralogix.com/mgmt/openapi/latest/enrichment-rules/custom-enrichment-rules/v1 \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "customEnrichmentId": 1,
  "description": "custom_enrichment_description",
  "file": {
    "extension": "csv",
    "name": "file_name",
    "size": 100,
    "textual": "row1,row2 value1,value2"
  },
  "name": "custom_enrichment_name"
}'
{
  "customEnrichment": {
    "description": "<string>",
    "fileName": "<string>",
    "fileSize": 123,
    "id": 123,
    "isQueryOnly": true,
    "name": "<string>",
    "version": 123
  },
  "message": "Custom enrichment updated successfully"
}

Authorizations

Authorization
string
header
required

API key authentication

Body

application/json

This request data structure is used to update a custom enrichment

customEnrichmentId
integer
required
Example:

1

description
string
required
Example:

"custom_enrichment_description"

file
object
required

This data structure represents a file

  • File
  • File
name
string
required
Example:

"custom_enrichment_name"

Response

200 - application/json

This response data structure is obtained when a custom enrichment is updated

customEnrichment
object
required
message
string
Example:

"Custom enrichment updated successfully"