curl --request PUT \
--url https://api.coralogix.com/mgmt/openapi/3/v1/alert-scheduler-rules/bulk \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"updateAlertSchedulerRuleRequests": [
{
"alertSchedulerRule": {
"createdAt": "<string>",
"description": "<string>",
"enabled": true,
"filter": {
"alertUniqueIds": {
"value": [
"<string>"
]
},
"whatExpression": "<string>"
},
"id": "<string>",
"metaLabels": [
{
"id": "<string>",
"key": "<string>",
"value": "<string>"
}
],
"name": "<string>",
"schedule": {
"recurring": {
"dynamic": {
"repeatEvery": 123,
"terminationDate": "<string>",
"timeframe": {
"endTime": "<string>",
"startTime": "<string>",
"timezone": "<string>"
},
"weekly": {
"daysOfWeek": [
123
]
}
}
},
"scheduleOperation": "SCHEDULE_OPERATION_UNSPECIFIED"
},
"uniqueIdentifier": "<string>",
"updatedAt": "<string>"
}
}
]
}
'{
"updateSuppressionResponses": [
{
"alertSchedulerRule": {
"createdAt": "<string>",
"description": "<string>",
"enabled": true,
"filter": {
"alertUniqueIds": {
"value": [
"<string>"
]
},
"whatExpression": "<string>"
},
"id": "<string>",
"metaLabels": [
{
"id": "<string>",
"key": "<string>",
"value": "<string>"
}
],
"name": "<string>",
"schedule": {
"recurring": {
"dynamic": {
"repeatEvery": 123,
"terminationDate": "<string>",
"timeframe": {
"endTime": "<string>",
"startTime": "<string>",
"timezone": "<string>"
},
"weekly": {
"daysOfWeek": [
123
]
}
}
},
"scheduleOperation": "SCHEDULE_OPERATION_UNSPECIFIED"
},
"uniqueIdentifier": "<string>",
"updatedAt": "<string>"
}
}
]
}No description available
curl --request PUT \
--url https://api.coralogix.com/mgmt/openapi/3/v1/alert-scheduler-rules/bulk \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"updateAlertSchedulerRuleRequests": [
{
"alertSchedulerRule": {
"createdAt": "<string>",
"description": "<string>",
"enabled": true,
"filter": {
"alertUniqueIds": {
"value": [
"<string>"
]
},
"whatExpression": "<string>"
},
"id": "<string>",
"metaLabels": [
{
"id": "<string>",
"key": "<string>",
"value": "<string>"
}
],
"name": "<string>",
"schedule": {
"recurring": {
"dynamic": {
"repeatEvery": 123,
"terminationDate": "<string>",
"timeframe": {
"endTime": "<string>",
"startTime": "<string>",
"timezone": "<string>"
},
"weekly": {
"daysOfWeek": [
123
]
}
}
},
"scheduleOperation": "SCHEDULE_OPERATION_UNSPECIFIED"
},
"uniqueIdentifier": "<string>",
"updatedAt": "<string>"
}
}
]
}
'{
"updateSuppressionResponses": [
{
"alertSchedulerRule": {
"createdAt": "<string>",
"description": "<string>",
"enabled": true,
"filter": {
"alertUniqueIds": {
"value": [
"<string>"
]
},
"whatExpression": "<string>"
},
"id": "<string>",
"metaLabels": [
{
"id": "<string>",
"key": "<string>",
"value": "<string>"
}
],
"name": "<string>",
"schedule": {
"recurring": {
"dynamic": {
"repeatEvery": 123,
"terminationDate": "<string>",
"timeframe": {
"endTime": "<string>",
"startTime": "<string>",
"timezone": "<string>"
},
"weekly": {
"daysOfWeek": [
123
]
}
}
},
"scheduleOperation": "SCHEDULE_OPERATION_UNSPECIFIED"
},
"uniqueIdentifier": "<string>",
"updatedAt": "<string>"
}
}
]
}API key authentication
This is a request sent to update multiple alert scheduler rules
Show child attributes
This is a response sent after updating multiple alert scheduler rules
Show child attributes
Was this page helpful?