Proxy HTTP PUT request
editProxy HTTP PUT request
editThis endpoint is deprecated and scheduled to be removed in the next major version. Use proxy PUT
request to resource instead.
Proxies the HTTP PUT request to the cluster. You must specify the X-Management-Request
HTTP header. NOTE: Use this endpoint for management purposes. It does not provide high performance.
Request
editPUT /api/v1/clusters/enterprise_search/{cluster_id}/proxy/{enterprise_search_path}
Path parameters
editName | Type | Required | Description |
---|---|---|---|
|
|
Y |
The EnterpriseSearch deployment identifier |
|
|
Y |
The URL part to proxy to the EnterpriseSearch cluster. Example: /api/ent/v1/internal/read_only_mode or /api/ent/v1/internal/health |
Headers
editName | Type | Required | Description |
---|---|---|---|
|
|
Y |
When set to |
Request body
edit(string
) The JSON payload that is used to proxy the EnterpriseSearch deployment.
Responses
edit-
200
-
The request has been processed successfully through the proxy
-
404
-
The cluster specified by {cluster_id} cannot be found (code: 'clusters.cluster_not_found')
Request example
editcurl -XPUT https://{{hostname}}/api/v1/clusters/enterprise_search/{cluster_id}/proxy/{enterprise_search_path} \ -H "Authorization: ApiKey $ECE_API_KEY" \ -H X-Management-Request: string