Is it possible to rename a Role Mapping rule using the Rest API?
When I attempt to rename a rule using a PUT call it returns a message saying the change was successful but it ends up creating a new rule with the new name and the old rules still exists. I could then delete the old rule with a DELETE call but I would rath just perform the rename in one call if possible. This way the rule numbers are maintained.
Here's what I've tried:
PUT to /api/v1/configuration/users/user-realms/realm/test_realm/role-mapping-rules/rule/OLD_RULE_NAME
Array ( [name] => New Rule Name [roles] => Array (  => testrole )