---
title: "update publication for postgres"
method: POST
path: "/w/{workspace}/postgres_triggers/publication/update/{publication}/{path}"
tags: ["postgres_trigger"]
---

# update publication for postgres

`POST /w/{workspace}/postgres_triggers/publication/update/{publication}/{path}`

## Path parameters

- `workspace` string, required
- `path` string, required
- `publication` string, required

## Request body

- PublicationData
  - `table_to_track` Relations[]
    - `schema_name` string, required
    - `table_to_track` object[], required
      - `table_name` string, required
      - `columns_name` string[]
      - `where_clause` string
  - `transaction_to_track` string[], required

## Response `201`

publication updated

---

[API](https://skmtc.dev/windmill/apis/windmill-api.md) · [All operations](https://skmtc.dev/windmill/apis/windmill-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/windmill/windmill-api/revisions/7b281701c340/schema)
