---
title: "Editar publicação"
method: PUT
path: "/api/management/form-publications/{form_publication}"
tags: ["form-publications"]
---

# Editar publicação

`PUT /api/management/form-publications/{form_publication}`

Atualiza a configuração de uma publicação; `title`, `status` e `form_id` são obrigatórios mesmo sem mudança. Se `create_project` não vier como true, a configuração de criação de projeto é apagada. O link público continua o mesmo.

## Request body

- unknown[]
  - unknown

## Response `200`

Sucesso

- object
  - `response` boolean
  - `form_publication` object
    - `id` string
    - `title` string
    - `description` string
    - `background_color` string, color
    - `starts_at` unknown
    - `ends_at` string
    - `redirect_url` string, uri
    - `token` string
    - `status` string
    - `form_id` integer
    - `frame_id` string
    - `created_at` string, date-time
    - `updated_at` string, date-time
    - `deleted_at` unknown
    - `create_project` boolean
    - `link_as_media` boolean
    - `link_as_loose_form` boolean
    - `project_name` unknown
    - `form_edge_id` unknown
    - `project_template_id` unknown
    - `funnel_step_id` unknown
    - `type` string
    - `created_by` unknown

## Other responses

- `404` — Não encontrado
- `422` — Validação falhou

## Changes

- **2026-09-22** `d71b18b1685d` — 3 info
  - added the media type `application/json` for the response with the status `200`
  - added the non-success response with the status `404`
  - added the non-success response with the status `422`

[Change history](https://skmtc.dev/olie-ai/apis/olie-api/changes/api/management/form-publications/:form_publication/put.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/d71b18b1685d?raw)
