Replaces the component-level user-defined settings for the specified resource kind in the deployment. All existing component-level user settings are overwritten with the provided values. Submitting an empty object will remove all component-level user settings for the resource. This endpoint does not support tier/topology-level user settings overrides.
Path parameters
-
Identifier for the Deployment
-
The kind of resource
Values are
elasticsearch,kibana,apm,appsearch,enterprise_search, orintegrations_server. -
User-specified RefId for the Resource (or '_main' if there is only one)
Responses
-
The updated user settings for the deployment resource
-
- Plan or user settings validation failed. (code:
clusters.cluster_invalid_plan) - The deployment plan could not be applied; see the error message. (code:
user_settings.update_failed)
- Plan or user settings validation failed. (code:
-
- 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 Deployment specified by {deployment_id} cannot be found. (code:
PUT
/deployments/{deployment_id}/{resource_kind}/{ref_id}/user_settings
curl \
--request PUT 'https://api.elastic-cloud.com/api/v1/deployments/{deployment_id}/{resource_kind}/{ref_id}/user_settings' \
--header "Content-Type: application/json" \
--data '{"user_settings":{}}'