Skip to main content

Test Existing Preset

POSThttps://api.coralogix.com/mgmt/openapi/5/notifications/notification-center/v1/presets:test

Tests an existing notification preset.

Authorizations

Authorizationstringheaderrequired
API key authentication

Request

Body

application/json

Request for testing an existing notification preset.

    connectorId#string

    The connector id.

    Possible values: non-empty and <= 128 characters, Value must match regular expression ^[a-zA-Z0-9][a-zA-Z0-9_-]*$

    entitySubType#string

    Entity sub-type to use when testing the preset.

    Possible values: non-empty and <= 100 characters, Value must match regular expression ^[\s\S]*$

    Example: logsImmediateResolved
    entityType#notification_center.EntityType

    Entity type.

    Possible values: [ENTITY_TYPE_UNSPECIFIED, ALERTS, TEST_NOTIFICATIONS, CASES]

    presetId#string

    The preset id.

    Possible values: non-empty and <= 128 characters, Value must match regular expression ^[a-zA-Z0-9][a-zA-Z0-9_-]*$

Response

application/json

Response containing the results of testing an existing preset.

    result#object

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

    oneOf
    object

    Failure.

    Indicates the notification test succeeded.