---
title: "Flatify zone"
method: POST
path: "/2/zones/{zone}/flatify"
tags: ["Zone"]
---

# Flatify zone

`POST /2/zones/{zone}/flatify`

Flatify a given zone<br/>
Move all records of the delegated sub zones to the root of the given zone, then delete the delegated sub zones

## Path parameters

- `zone` string, required

## Request body

- object

## Response `200`

OK

- object
  - `result` 'success' | 'error' | 'asynchronous', required — Result of the HTTP request
  - `data` boolean

## Other responses

- `401` — Unauthorized
- `404` — Not Found
- `500` — Internal Server Error

## Changes

- **2026-10-01** `eb06537247ec` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools/changes/2/zones/:zone/flatify/post.md)

---

[API](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools.md) · [All operations](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools/llms.txt) · [OpenAPI document](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools/revisions/787d0664e8e8?raw)
