Removing deprecated rules via deploy CLI

Now that Rules have been deprecated I need to finish the final clean up in our repo. I noticed after removing the rules and then using the deploy CLI that the rule didn’t actually get removed from the tenant.

I understand any Rules are now in a readonly state but does that persist to deleting as well? Do these need to be manually deleted via the GUI now?

1 Like

Hello @nigel1,

Thank you for reaching out to us!
Since the deprecation of Rules, these are now in a permanent Read-Only state which cannot be modified, but these can be turned on and off, and their respective configuration values or secrets can be modified, as outlined in the following documentation.
The Deploy CLI should no longer support deleting rules, which can now be accomplished by manual deletion from the Dashboard. I could not find evidence that the Management API tool does no longer support deleting Rules, as this function can still be found here, so this should still be a valid alternative.

Have a great one!
Gerald