Proxy HTTP PUT request
Proxies the HTTP PUT request to the deployment resource. You must specify the X-Management-Request
HTTP header. NOTE: Use this endpoint for management purposes. It does not provide high performance.
Headers
-
You must specify the
X-Management-Request
HTTP header with valuetrue
. NOTE: Use this endpoint for management purposes. It does not provide high performance.
Path parameters
-
Identifier for the Deployment
-
The kind of resource
Values are
elasticsearch
,kibana
, orenterprise_search
. -
User-specified RefId for the Resource (or '_main' if there is only one)
-
The URL part to proxy to the deployment resource. Example: _cat/indices, /api/spaces/space or /api/ent/v1/internal/health
application/text
Responses
-
The request has been processed successfully through the proxy.
-
- The Deployment specified by {deployment_id} cannot be found. (code:
deployments.deployment_not_found
) - The Resource specified by {ref_id} cannot be found. (code:
deployments.deployment_resource_not_found
) - The Resource specified by {ref_id} cannot be found. (code:
clusters.cluster_not_found
)
- The Deployment specified by {deployment_id} cannot be found. (code:
PUT
/deployments/{deployment_id}/{resource_kind}/{ref_id}/proxy/{proxy_path}
cURL (application/text)
curl \
--request PUT 'https://{{hostname}}/api/v1/deployments/{deployment_id}/{resource_kind}/{ref_id}/proxy/{proxy_path}' \
--user "username:password" \
--header "Content-Type: application/text" \
--header "X-Management-Request: string"
curl \
--request PUT 'https://{{hostname}}/api/v1/deployments/{deployment_id}/{resource_kind}/{ref_id}/proxy/{proxy_path}' \
--user "username:password" \
--header "Content-Type: application/json" \
--header "X-Management-Request: string" \
--data '"string"'
curl \
--request PUT 'https://{{hostname}}/api/v1/deployments/{deployment_id}/{resource_kind}/{ref_id}/proxy/{proxy_path}' \
--user "username:password" \
--header "Content-Type: application/x-ndjson" \
--header "X-Management-Request: string"