---
title: "Update community"
method: PATCH
path: "/api/communities/{id}"
tags: ["Communities"]
---

# Update community

`PATCH /api/communities/{id}`

## Request body

- UpdateCommunityInputDto
  - `hostname` string
  - `name` string
  - `email` string
  - `owners` string[]

## Response `200`

Community

- Community
  - `_id` string, required
  - `hostname` string, required
  - `name` string, required
  - `email` string, required
  - `creator` string, required
  - `owners` string[], required
  - `discordGuildId` string
  - `discordLinkNonce` string, required
  - `isPublic` boolean, required
  - `discordLinkState` 'NOT_SET' | 'PENDING' | 'ACTIVE' | 'DEACTIVE', required
  - `features` object, required

## Changes

- **2023-08-23** `990e717b779e` — 1 info
  - endpoint added
- **2023-08-23** `abdaebb919d2` — 1 breaking
  - api path removed without deprecation
- **2023-08-18** `2415e0d56d99` — 1 info
  - added the required property `features` to the response with the `200` status
- **2023-05-22** `35689df7019c` — 1 breaking, 1 info
  - the `_id` response's property type/format changed from ``/`` to `string`/`` for status `200`
  - removed `#/components/schemas/ObjectId` from the `_id` response property `allOf` list for the response status `200`
- **2023-04-27** `e14b4c818c53` — 1 info
  - endpoint added

[Full history](https://skmtc.dev/givepraise/apis/praise-api/changes/api/communities/:id/patch.md)

---

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