---
title: "Apply a previewed import"
method: POST
path: "/v1/dns-zones/{zoneID}/import"
tags: ["public", "dns"]
---

# Apply a previewed import

`POST /v1/dns-zones/{zoneID}/import`

## Request

- Base URL: `https://api.vozora.io`
- URL: `https://api.vozora.io/v1/dns-zones/{zoneID}/import`
- Auth: API key in header `Authorization`

Applies the replacement the preview described, or nothing. A preview issued to another key, or against an older version of the zone, is refused.

## Path parameters

- `zoneID` string, required

## Headers

- `If-Match` string, required
- `Idempotency-Key` string, required

## Response `200`

OK

- ZonesPublicWriteAck
  - `applied_version` integer
  - `desired_version` integer
  - `publication` string
  - `status_url` string
  - `zone_id` string

## Other responses

- `409`: version_conflict — take a fresh preview

---

[API](https://skmtc.dev/vozora/apis/vozora-api.md) · [All operations](https://skmtc.dev/vozora/apis/vozora-api/llms.txt) · [OpenAPI document](https://skmtc.dev/vozora/apis/vozora-api/revisions/56f15734fc5a?raw)
