Type to search.

Set AppSearch read-only status

Base URL
https://api.elastic-cloud.com/api/v1
No auth

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).

Responses

Standard response

application/json
enabled boolean required

Whether read-only mode is enabled or disabled