---
title: "Edit a community post the caller authored"
method: PATCH
path: "/api/community/posts"
tags: ["Mutations"]
---

# Edit a community post the caller authored

`PATCH /api/community/posts`

## Request

- Base URL: `https://rrmacademy.org`
- URL: `https://rrmacademy.org/api/community/posts`
- Auth: none required

## Headers

- `Idempotency-Key` string

## Request body

- object: See functions/api/community/posts.js for the request schema.

## Response `200`

Success

- object

## Other responses

- `400`: Idempotency-Key header is malformed. Must be 16-128 printable ASCII characters.
- `401`: Authentication required
- `403`: Caller does not own the post
- `422`: The Idempotency-Key was previously used with a different request body. Use a new key for a new request.

---

[API](https://skmtc.dev/rrmacademy/apis/rrm-academy-agent-api.md) · [All operations](https://skmtc.dev/rrmacademy/apis/rrm-academy-agent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/rrmacademy/apis/rrm-academy-agent-api/revisions/0e3589a38b0c?raw)
