would like to update the LDAP group name to role mapping using REST on my search head.
To confirm - the roles <> group mapping created using REST wil be replicated among Search Head Cluster Member.
using the curl command you can add or remove splunk roles mapped to a given LDAP group name. This example adds the 3 roles (admin, user, power) to the LDAP group name 'splunk_test'.
curl -k -u admin:password https://localhost:8089/servicesNS/-/launcher/admin/LDAP-groups/test_AD%2Csplunk_test -d roles=admin -d roles=user -d roles=power
test_AD is the strategy name
splunk_test is the LDAP group name