curl --location --request PUT 'http://127.0.0.1/deployments//appsearch//read_only_mode' \ --header 'Authorization: ApiKey {{EC_API_KEY}}' \ --header 'Content-Type: application/json' \ --data-raw '{ "enabled": true }'
{ "enabled": true }