Set AppSearch read-only status
Enable/Disable read-only mode on the given App Search resource.
Path parameters
-
Identifier for the Deployment.
-
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://{{hostname}}/api/v1/deployments/{deployment_id}/appsearch/{ref_id}/read_only_mode' \
--user "username:password" \
--header "Content-Type: application/json" \
--data '{"enabled":true}'