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
-
X-Management-Request
string Required 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
-
deployment_id
string Required Identifier for the Deployment
-
resource_kind
string Required The kind of resource
Values are
elasticsearch
,kibana
, orenterprise_search
. -
ref_id
string Required User-specified RefId for the Resource (or '_main' if there is only one)
-
proxy_path
string Required The URL part to proxy to the deployment resource. Example: _cat/indices, /api/spaces/space or /api/ent/v1/internal/health
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:
curl \
--request PUT https://{{hostname}}/api/v1/deployments/{deployment_id}/{resource_kind}/{ref_id}/proxy/{proxy_path} \
--header "X-Management-Request: string" \
--data '"string"'
# Headers
X-Management-Request: string
# Payload
string
{
"value": "string"
}
# Headers
x-cloud-error-codes: deployments.deployment_not_found
# Payload
{
"errors": [
{
"code": "string",
"message": "string",
"fields": [
"string"
]
}
]
}