Update an alert scheduler rule
curl --request PUT \
--url https://api.coralogix.com/mgmt/openapi/4/alerts/suppression-rules/v1 \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"alertSchedulerRule": {
"createdAt": "<string>",
"description": "<string>",
"enabled": true,
"filter": {
"alertMetaLabels": {
"value": [
{
"id": "<string>",
"key": "<string>",
"value": "<string>"
}
]
},
"whatExpression": "<string>"
},
"id": "<string>",
"metaLabels": [
{
"id": "<string>",
"key": "<string>",
"value": "<string>"
}
],
"name": "<string>",
"schedule": {
"oneTime": {
"timeframe": {
"endTime": "<string>",
"startTime": "<string>",
"timezone": "<string>"
}
}
},
"uniqueIdentifier": "<string>",
"updatedAt": "<string>"
}
}
'{
"alertSchedulerRule": {
"createdAt": "<string>",
"description": "<string>",
"enabled": true,
"filter": {
"alertMetaLabels": {
"value": [
{
"id": "<string>",
"key": "<string>",
"value": "<string>"
}
]
},
"whatExpression": "<string>"
},
"id": "<string>",
"metaLabels": [
{
"id": "<string>",
"key": "<string>",
"value": "<string>"
}
],
"name": "<string>",
"schedule": {
"oneTime": {
"timeframe": {
"endTime": "<string>",
"startTime": "<string>",
"timezone": "<string>"
}
}
},
"uniqueIdentifier": "<string>",
"updatedAt": "<string>"
}
}Alert Scheduler Rule Service
Update an alert scheduler rule
No description available
Update an alert scheduler rule
curl --request PUT \
--url https://api.coralogix.com/mgmt/openapi/4/alerts/suppression-rules/v1 \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"alertSchedulerRule": {
"createdAt": "<string>",
"description": "<string>",
"enabled": true,
"filter": {
"alertMetaLabels": {
"value": [
{
"id": "<string>",
"key": "<string>",
"value": "<string>"
}
]
},
"whatExpression": "<string>"
},
"id": "<string>",
"metaLabels": [
{
"id": "<string>",
"key": "<string>",
"value": "<string>"
}
],
"name": "<string>",
"schedule": {
"oneTime": {
"timeframe": {
"endTime": "<string>",
"startTime": "<string>",
"timezone": "<string>"
}
}
},
"uniqueIdentifier": "<string>",
"updatedAt": "<string>"
}
}
'{
"alertSchedulerRule": {
"createdAt": "<string>",
"description": "<string>",
"enabled": true,
"filter": {
"alertMetaLabels": {
"value": [
{
"id": "<string>",
"key": "<string>",
"value": "<string>"
}
]
},
"whatExpression": "<string>"
},
"id": "<string>",
"metaLabels": [
{
"id": "<string>",
"key": "<string>",
"value": "<string>"
}
],
"name": "<string>",
"schedule": {
"oneTime": {
"timeframe": {
"endTime": "<string>",
"startTime": "<string>",
"timezone": "<string>"
}
}
},
"uniqueIdentifier": "<string>",
"updatedAt": "<string>"
}
}Authorizations
API key authentication
Body
application/json
This is a request sent to update an alert scheduler rule
Show child attributes
Show child attributes
Response
This is a response sent after creating an alert scheduler rule
Show child attributes
Show child attributes
Was this page helpful?
⌘I