IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
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.
-
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"