I am trying to create a group rule and immediately after to update it to be able to activate it, as by default is Inactive as stated in the docs:
After creation, I get the rule id, which I use it later in the call to update the rule. The update of the rule is a PUT operation. However, I get the error:
Okta HTTP 400 E0000001 Api validation failed: name. name: Policy rule name already in use
Seems obvious that the name of the rule is already in use, because I am trying to update just the status of the rule to enable it.
Any help please?