curl --request PUT \
--url https://api.coralogix.com/mgmt/openapi/4/notifications/notification-center/v1/presets/custom \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"preset": {
"attachmentConfig": {
"policy": "AUTO"
},
"configOverrides": [
{
"conditionType": {
"matchEntityTypeAndSubType": {
"entitySubType": "<string>"
}
},
"messageConfig": {
"fields": [
{
"fieldName": "title",
"template": "{{alert.status}} {{alertDef.priority}} - {{alertDef.name}}"
}
]
},
"payloadType": "<string>"
}
],
"connectorType": "CONNECTOR_TYPE_UNSPECIFIED",
"createTime": "2023-11-07T05:31:56Z",
"description": "Custom preset for alerts",
"entityType": "ENTITY_TYPE_UNSPECIFIED",
"id": "a16e24c8-4db2-4abf-ba3c-c9e1fc35a3b9",
"name": "My Preset",
"parentId": "preset_system_slack_alerts_basic",
"presetType": "PRESET_TYPE_UNSPECIFIED",
"updateTime": "2023-11-07T05:31:56Z"
}
}
'{
"preset": {
"attachmentConfig": {
"policy": "AUTO"
},
"configOverrides": [
{
"conditionType": {
"matchEntityTypeAndSubType": {
"entitySubType": "<string>"
}
},
"messageConfig": {
"fields": [
{
"fieldName": "title",
"template": "{{alert.status}} {{alertDef.priority}} - {{alertDef.name}}"
}
]
},
"payloadType": "<string>"
}
],
"connectorType": "CONNECTOR_TYPE_UNSPECIFIED",
"createTime": "2023-11-07T05:31:56Z",
"description": "Custom preset for alerts",
"entityType": "ENTITY_TYPE_UNSPECIFIED",
"id": "a16e24c8-4db2-4abf-ba3c-c9e1fc35a3b9",
"name": "My Preset",
"parentId": "preset_system_slack_alerts_basic",
"presetType": "PRESET_TYPE_UNSPECIFIED",
"updateTime": "2023-11-07T05:31:56Z"
}
}No description available
curl --request PUT \
--url https://api.coralogix.com/mgmt/openapi/4/notifications/notification-center/v1/presets/custom \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"preset": {
"attachmentConfig": {
"policy": "AUTO"
},
"configOverrides": [
{
"conditionType": {
"matchEntityTypeAndSubType": {
"entitySubType": "<string>"
}
},
"messageConfig": {
"fields": [
{
"fieldName": "title",
"template": "{{alert.status}} {{alertDef.priority}} - {{alertDef.name}}"
}
]
},
"payloadType": "<string>"
}
],
"connectorType": "CONNECTOR_TYPE_UNSPECIFIED",
"createTime": "2023-11-07T05:31:56Z",
"description": "Custom preset for alerts",
"entityType": "ENTITY_TYPE_UNSPECIFIED",
"id": "a16e24c8-4db2-4abf-ba3c-c9e1fc35a3b9",
"name": "My Preset",
"parentId": "preset_system_slack_alerts_basic",
"presetType": "PRESET_TYPE_UNSPECIFIED",
"updateTime": "2023-11-07T05:31:56Z"
}
}
'{
"preset": {
"attachmentConfig": {
"policy": "AUTO"
},
"configOverrides": [
{
"conditionType": {
"matchEntityTypeAndSubType": {
"entitySubType": "<string>"
}
},
"messageConfig": {
"fields": [
{
"fieldName": "title",
"template": "{{alert.status}} {{alertDef.priority}} - {{alertDef.name}}"
}
]
},
"payloadType": "<string>"
}
],
"connectorType": "CONNECTOR_TYPE_UNSPECIFIED",
"createTime": "2023-11-07T05:31:56Z",
"description": "Custom preset for alerts",
"entityType": "ENTITY_TYPE_UNSPECIFIED",
"id": "a16e24c8-4db2-4abf-ba3c-c9e1fc35a3b9",
"name": "My Preset",
"parentId": "preset_system_slack_alerts_basic",
"presetType": "PRESET_TYPE_UNSPECIFIED",
"updateTime": "2023-11-07T05:31:56Z"
}
}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.
API key authentication
Request to replace an existing custom preset
Set of preconfigured templates for notification content rendering
Show child attributes
Response containing the updated custom preset
Set of preconfigured templates for notification content rendering
Show child attributes
Was this page helpful?