Activate Rules
Custom Policies
Activate Rules
Activate extracted rules from a policy import so they run during validation
POST
Activate Rules
Activate rules extracted from a policy import. Once activated, these rules will be enforced during document validation for your account. You can activate all rules or a specific subset.Documentation Index
Fetch the complete documentation index at: https://zerodrift.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Path Parameters
The import ID to activate rules from
Request Body
Optional list of specific rule IDs to activate. If omitted, all extracted rules are activated.
Set to
true to overwrite rules that have already been activated from a previous import. Defaults to false.When
overwrite is false (default), if a rule ID already exists the request stops and returns a 409 conflict response. The 409 error body includes an error message that identifies the conflicting rule ID and indicates which rules were successfully activated before the collision. Use overwrite: true to replace existing rules unconditionally.Response
Import identifier
Updated import status:
activatedNumber of rules successfully activated
List of activated rule IDs (prefixed with
cust_<customer_id>_)For
409 responses, the rule ID that caused the conflict.
