Resynchronize Deployment
editResynchronize Deployment
editImmediately resynchronizes the search index for the selected deployment.
Request
editPOST /api/v1/deployments/{deployment_id}/_resync
Path parameters
editName | Type | Required | Description |
---|---|---|---|
|
|
Y |
Identifier for the Deployment |
Responses
edit-
200
-
The deployment resync operation executed successfully.
-
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"