---
title: "Reordenar áreas de negócio"
method: POST
path: "/api/management/business-areas/reorder"
tags: ["business-areas", "reorder"]
---

# Reordenar áreas de negócio

`POST /api/management/business-areas/reorder`

Define a ordem em que as áreas de negócio aparecem na listagem. A posição de cada identificador dentro do array vira a posição da área na lista, começando em zero. Envie sempre a lista completa: áreas não citadas mantêm a posição anterior e podem acabar empatadas com as reposicionadas.

## Request body

- object — Nova ordem das áreas de negócio.
  - `business_area_ids` integer[], required — Identificadores das áreas de negócio na ordem desejada; a posição no array vira o valor de `order`, começando em zero. Não pode ser vazio.

## Response `200`

Sucesso

- object — Confirmação da operação.
  - `response` boolean — Indica que a requisição foi concluída com sucesso. Sempre `true`.

## Other responses

- `422` — Erro de validação

## Changes

- **2026-09-22** `d71b18b1685d` — 3 breaking, 1 warning
  - the request property `business_area_ids` became required
  - the `business_area_ids` request property's minItems was increased to `1`
  - the `business_area_ids/items/` request property type changed from no type to `integer`
  - removed the optional property `validation/business_area_ids` from the response with the `422` status
- **2026-09-18** `626cc36dd5e6` — 7 warning, 2 info
  - the optional response header `Access-Control-Allow-Origin` removed for the status `200`
  - the optional response header `Access-Control-Expose-Headers` removed for the status `200`
  - the optional response header `Cache-Control` removed for the status `200`
  - the optional response header `Date` removed for the status `200`
  - …5 more

[Change history](https://skmtc.dev/olie-ai/apis/olie-api/changes/api/management/business-areas/reorder/post.md)

---

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