Import a check rule
This endpoint allows you to import an existing check rule into your organization. It's intended for one-time migrations rather than ongoing check rule management. Unlike the standard API, this endpoint supports importing check rules with full editability, allowing you to modify check rules that were previously created elsewhere. Note: This endpoint is not recommended for Infrastructure-as-Code (IaC) workflows. Using it in IaC scenarios can cause configuration drift and inconsistencies between your source configuration and the imported check rule state. Importing a check rule without an id will create a new check rule and return the created asset with a generated id. Importing a check rule with an existing id (metadata>dash0Extensions>id) will override the corresponding check rule definition. In case there is no check rule with the given id a new check rule will be created.
Request
- Base URL: https://api.eu-west-1.aws.dash0.com
- URL: https://api.eu-west-1.aws.dash0.com/api/import/check-rule
- Auth: none declared
Query parameters
Optional dataset to query across. Defaults to whatever is configured to be the default dataset for the organization.
The associated dataset.
Request body
Response
The imported check rule.
Changes
No recorded changes to this operation across all 1 revision of this API.