Skip to main content
Usage
algolia rules delete <index> --rule-ids <rule-ids> --confirm [flags]

Examples

Delete one single rule with the ID β€œ1” from the β€œMOVIES” index:
algolia rules delete MOVIES --rule-ids 1
Delete multiple rules with the IDs β€œ1” and β€œ2” from the β€œMOVIES” index:
algolia rules delete MOVIES --rule-ids 1,2

Flags

-y, --confirm
Skip confirmation prompt
--forward-to-replicas
Whether to also delete the rules from the replicas
--rule-ids
Rule IDs to delete
-w, --wait
Wait for the operation to complete
⌘I