Resynchronize runneredit
Immediately resynchronizes the search index and cache for the selected runner.
Requestedit
POST /api/v1/platform/infrastructure/runners/{runner_id}/_resync
Path parametersedit
Name | Type | Required | Description |
---|---|---|---|
|
|
Y |
The identifier for the runner |
Responsesedit
-
200
-
The runner 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 runner resync operation failed for runner {runner_id}. (code:
runners.resync_failed
)Headers
-
x-cloud-error-codes
(string
; allowed values: [runners.resync_failed
]) - The error codes associated with the response
-
Request exampleedit
curl -XPOST https://{{hostname}}/api/v1/platform/infrastructure/runners/{runner_id}/_resync \ -H "Authorization: ApiKey $ECE_API_KEY"