Opensearch security config api

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):

Describe the issue:
We are planning to update the security configuration of the existing cluster via API. Our approach involves fetching the current security configuration, modifying the payload, and then updating it using the Update Configuration API. However, the documentation recommends using Could you please explain the rationale behind this recommendation? Additionally, we would like to know if there are any potential issues with proceeding through the API route.


Relevant Logs or Screenshots:

Good question. Having the same problem/situation right now.
The script complicates my workflow…