Delete a connector sync job Beta; Added in 8.12.0

DELETE /_connector/_sync_job/{connector_sync_job_id}

Remove a connector sync job and its associated data. This is a destructive action that is not recoverable.

Path parameters

  • connector_sync_job_id string Required

    The unique identifier of the connector sync job to be deleted

Responses

  • 200 application/json
    Hide response attribute Show response attribute object
    • acknowledged boolean Required

      For a successful response, this value is always true. On failure, an exception is returned instead.

DELETE /_connector/_sync_job/{connector_sync_job_id}
DELETE _connector/_sync_job/my-connector-sync-job-id 
resp = client.connector.sync_job_delete( connector_sync_job_id="my-connector-sync-job-id", )
const response = await client.connector.syncJobDelete({ connector_sync_job_id: "my-connector-sync-job-id", });
response = client.connector.sync_job_delete( connector_sync_job_id: "my-connector-sync-job-id" )
$resp = $client->connector()->syncJobDelete([ "connector_sync_job_id" => "my-connector-sync-job-id", ]);
curl -X DELETE -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/_connector/_sync_job/my-connector-sync-job-id"
Response examples (200)
{ "acknowledged": true }