How to Enable _sql/translate command in AWS open search

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

Describe the issue:
When i run any command with POST _sql/translate it’s return the error like

{“Message”:“Your request: ‘/_sql/translate’ is not allowed.”}

Any specific configuration so that we resolve the same issue


Relevant Logs or Screenshots:

hello @gupta10900 - is this with on-prem or the AWS Service? Also can you confirm what version?