Alerting & Response/Alert Rules
POSTAlertingSince 1.0SynchronousAuth Required
ImportAlertRules
Import alert rules from a JSON bundle with conflict resolution
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Request Inputs
Body Fields
tenantIdStringRequiredTenant identifier to import rules into
Example: tenant-001
jsonContentStringRequiredJSON content containing the rules to import
Example: {...}
conflictActionStringRequiredConflict resolution strategy: skip, overwrite, or rename
Example: skip
Responses
Endpoint
POST/api/v1/alerting/rules/import
/api/v1/alerting/rules/import
Request Example
curl -X POST '{host}/api/v1/alerting/rules/import' -H 'Authorization: Bearer {token}' -H 'Content-Type: application/json' -d '{"tenantId":"tenant-001","jsonContent":"{...}","conflictAction":"skip"}'
Response Example
200{
"total": 10,
"created": 7,
"updated": 2,
"skipped": 20,
"renamed": 1,
"failed": 20,
"items": [
{}
]
}Change History
This API has no change history records yet.
