---
title: "Update gratitude entry content or share to community"
method: PUT
path: "/api/diary/gratitude/{id}"
tags: ["Diary"]
---

# Update gratitude entry content or share to community

`PUT /api/diary/gratitude/{id}`

## Request

- Base URL: `https://api.rewritelifestyle.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.rewritelifestyle.ai/api/diary/gratitude/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` number, required

## Request body

- UpdateGratitudeDto
  - `content` string
  - `shared` boolean: Mark entry as shared to community group

## Response `200`

---

[API](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api.md) - [All operations](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/revisions/28695827f27a?raw)
