Logo
Elasticsearch API Documentation

Set AppSearch read-only status

PUT {{baseUrl}}/deployments/:deployment_id/appsearch/:ref_id/read_only_mode

Enable/Disable read-only mode on the given App Search resource.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string




RESPONSES

status OK





Curl
curl -X PUT 'https://api.elastic-cloud.com/api/v1//deployments/:deployment_id/appsearch/:ref_id/read_only_mode' -H 'Content-Type: application/json' -d '{"enabled":true}'

ENDPOINTS