Skip to main content
Test Existing Preset
curl --request POST \
  --url https://api.coralogix.com/mgmt/openapi/5/notifications/notification-center/v1/presets:test \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "connectorId": "<string>",
  "entitySubType": "logsImmediateResolved",
  "presetId": "<string>"
}
'
{
  "result": {
    "failure": {
      "message": "<string>",
      "statusCode": 123
    }
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.coralogix.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key authentication

Body

application/json

Request for testing an existing notification preset.

connectorId
string

The connector id.

entitySubType
string

Entity sub-type to use when testing the preset.

Example:

"logsImmediateResolved"

entityType
enum<string>

Entity type.

Available options:
ENTITY_TYPE_UNSPECIFIED,
ALERTS,
TEST_NOTIFICATIONS,
CASES
presetId
string

The preset id.

Response

200 - application/json

Response containing the results of testing an existing preset.

result
object

Result of a notification test, either a success or failure.