---
title: "Publish the group to the world, or take it back; publish its Finance with it (owner only)"
method: PUT
path: "/groups/{groupId}/publication"
tags: ["Groups"]
---

# Publish the group to the world, or take it back; publish its Finance with it (owner only)

`PUT /groups/{groupId}/publication`

## Request

- Base URL: `https://whatareyoudo.ing/api/v1`
- URL: `https://whatareyoudo.ing/api/v1/groups/{groupId}/publication`
- Auth: HTTP bearer

Published: anybody, with or without an account, reads what the group's members can read, and search engines index it. Diaries kept to their creator stay private, and Finance stays with the members unless publicFinance is set. The Public Square is always published.

## Path parameters

- `groupId` string, uuid, required

## Request body

- SetGroupPublicationRequest
  - `isPublic` boolean
  - `publicFinance` boolean

## Response `200`

The group's publication after the change

- object
  - `data` GroupPublication, required
    - `isPublic` boolean, required
    - `publicFinance` boolean, required
  - `meta` object, required
    - `requestId` string, required

## Other responses

- `403`: Not the owner, a personal group, or unpublishing the Public Square

---

[API](https://skmtc.dev/whatareyoudo/apis/whatcha-api.md) · [All operations](https://skmtc.dev/whatareyoudo/apis/whatcha-api/llms.txt) · [OpenAPI document](https://skmtc.dev/whatareyoudo/apis/whatcha-api/revisions/48dd8a54abea?raw)
