Policy cleanup

I’m messing about and loaded some variables in the wrong path/policy and i managed to delete the policy
but deleting it didn’t delete the variables or hosts is there a way to revoke/remove stuff like hosts and variables?


cant seem to find a delete in there

1 Like

You can use resource “!delete” action like this test does here: https://github.com/cyberark/conjur/blob/master/cucumber/api/features/policy_load_modes.feature#L97-L98. You would then apply this with




flag when you do

conjur policy load

Policy to load:

  • !delete
    record: !variable a

thanks I’ll give this a try.