---
title: "Atualizar vários registros de uma vez"
method: POST
path: "/api/management/system/bulk-update/{model_name}"
tags: ["system", "bulk-update"]
---

# Atualizar vários registros de uma vez

`POST /api/management/system/bulk-update/{model_name}`

Aplica a mesma alteração a vários registros de uma vez. O `model_name` aceita `project` (os campos do corpo são os mesmos do endpoint de edição de projeto) e `answer_pool` (respostas de formulário dinâmico) — os demais modelos ainda não são suportados.

Falhas em registros individuais não interrompem o lote: o que deu certo é gravado e a resposta traz os contadores e o motivo de cada falha. Enquanto um lote do mesmo usuário está em andamento, uma nova chamada com mais de um ID responde 409.

## Request body

- object
  - `ids` unknown[]
    - unknown
  - `name` string
  - `description` string
  - `impact` integer
  - `status` integer
  - `budget` integer
  - `is_template` boolean
  - `funnels` object
    - `to_add` unknown[]
      - unknown
    - `to_rem` unknown[]
      - unknown
  - `groups` object
    - `to_add` unknown[]
      - unknown
    - `to_rem` unknown[]
      - unknown
  - `tags` object
    - `to_add` unknown[]
      - unknown
    - `to_rem` unknown[]
      - unknown
  - `childrens` object
    - `to_add` unknown[]
      - unknown
    - `to_rem` unknown[]
      - unknown
  - `users` object[]
    - `role` string
    - `action` string
  - `forecast_dates` object[]
    - `date` string, date
  - `funnel_status` object
  - `form_answers` object[]
    - `answer` string

## Response `200`

Sucesso

- object
  - `response` boolean
  - `result` object
    - `successCount` integer
    - `failedCount` integer
    - `fails` unknown[]
      - unknown

## Other responses

- `409` — Outro lote em andamento
- `422` — Erro de validação

## Changes

- **2026-09-22** `b43a04f35145` — 8 warning, 1 info
  - removed the request property `contact_id`
  - removed the request property `customer_id`
  - removed the request property `forecast_dates/items/project_funnel_id`
  - removed the request property `form_answers/items/id`
  - …5 more
- **2026-09-18** `626cc36dd5e6` — 2 info
  - added the non-success response with the status `409`
  - added the non-success response with the status `422`
- **2026-09-18** `4a8f726dba52` — 2 info
  - added optional request body
  - added the media type `application/json` for the response with the status `200`

[Change history](https://skmtc.dev/olie-ai/apis/olie-api/changes/api/management/system/bulk-update/:model_name/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/b43a04f35145?raw)
