Specifically take note of srchIndexesAllowed and srchIndexesDefault.
You'll probably want to do this in two steps. First GET the current values for these two attributes, put them in a temporary variable, add your new index to the list, and the update the value in Splunk via a POST. Otherwise you may remove existing indexes from your roles, which would be bad.
Testing this in a safe environment first is recommended. 😉