Skip to main content
GET
/
deployments
/
{deployment_id}
/
appsearch
/
{ref_id}
/
read_only_mode
Set AppSearch read-only status
curl --request GET \
  --url https://api.elastic-cloud.com/api/v1/deployments/{deployment_id}/appsearch/{ref_id}/read_only_mode \
  --header 'Authorization: <api-key>'
{
  "enabled": "<boolean>"
}

Authorizations

Authorization
string
header
required

Path Parameters

deployment_id
string
required

(Required) Identifier for the Deployment.

Example:

"<string>"

ref_id
string
required

(Required) User-specified RefId for the Resource (or '_main' if there is only one).

Example:

"<string>"

Response

Standard response

enabled
string
Example:

"<boolean>"

I