Set AppSearch read-only status
Enable/Disable read-only mode on the given App Search resource.
Path parameters
-
deployment_id
string Required Identifier for the Deployment.
-
ref_id
string Required User-specified RefId for the Resource (or '_main' if there is only one).
PUT
/deployments/{deployment_id}/appsearch/{ref_id}/read_only_mode
curl \
--request PUT 'https://api.elastic-cloud.com/api/v1/deployments/{deployment_id}/appsearch/{ref_id}/read_only_mode' \
--header "Content-Type: application/json" \
--data '{"enabled":true}'