---
title: "Complete external data import job"
method: PUT
path: "/external-data-import/{id}/complete"
tags: ["externaldata"]
---

# Complete external data import job

`PUT /external-data-import/{id}/complete`

Complete the external data import job and persist the data to the external data table.
This should be called after a successful preview (status 4).

-  PERMISSIONS: `api_external_data_table:update`

## Path parameters

- `id` string, required

## Request body

- ExternaldatatableImportCompleteRequest — unresolved $ref

## Response `204`

No Content - Import completed successfully

## Other responses

- `400` — Bad Request
- `404` — Not Found - Job not found or preview not completed

## Changes

- **2026-01-19** `c85919c0ff21` — 1 breaking
  - request body became required
- **2025-12-14** `1c19dcf99fec` — 2 breaking, 3 info
  - the response's body type/format changed from ``/`` to `object`/`` for status `400`
  - the response's body type/format changed from ``/`` to `object`/`` for status `404`
  - added the optional property `error` to the response with the `404` status
  - added the optional property `errors` to the response with the `400` status
  - …1 more
- **2025-12-12** `24b4a346840a` — 2 breaking, 3 warning
  - the response's body type/format changed from `object`/`` to ``/`` for status `400`
  - the response's body type/format changed from `object`/`` to ``/`` for status `404`
  - removed the optional property `error` from the response with the `404` status
  - removed the optional property `errors` from the response with the `400` status
  - …1 more
- **2025-11-26** `bb6f0434af12` — 2 breaking, 3 info
  - the response's body type/format changed from ``/`` to `object`/`` for status `400`
  - the response's body type/format changed from ``/`` to `object`/`` for status `404`
  - added the optional property `error` to the response with the `404` status
  - added the optional property `errors` to the response with the `400` status
  - …1 more
- …earlier changes not shown

[Full history](https://skmtc.dev/capensis/apis/canopsis-community-api/changes/external-data-import/:id/complete/put.md)

---

[API](https://skmtc.dev/capensis/apis/canopsis-community-api.md) · [All operations](https://skmtc.dev/capensis/apis/canopsis-community-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/capensis/canopsis-community-api/revisions/7c842289e811/schema)
