A newer version is available. For the latest information, see the
current release documentation.
Resynchronize Deployment
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
Resynchronize Deployment
editImmediately resynchronizes the search index for the selected deployment.
Request
editPOST /api/v1/deployments/{deployment_id}/_resync
Path parameters
edit| Name | Type | Required | Description |
|---|---|---|---|
|
|
Y |
Identifier for the Deployment |
Responses
edit-
200 -
The deployment resync operation executed successfully.
-
449 -
Elevated permissions are required. (code:
root.unauthorized.rbac.elevated_permissions_required)Headers
-
x-cloud-error-codes(string; allowed values: [root.unauthorized.rbac.elevated_permissions_required]) - The error codes associated with the response
-
-
500 -
The deployment resync operation failed for deployment {deployment_id}. (code:
deployments.resync_failed)Headers
-
x-cloud-error-codes(string; allowed values: [deployments.resync_failed]) - The error codes associated with the response
-
Request example
editcurl -XPOST https://{{hostname}}/api/v1/deployments/{deployment_id}/_resync \
-H "Authorization: ApiKey $ECE_API_KEY"