# Update Post

PUT /api/v2/projects/{projectId}/feedback/posts/{id}

Updates a post's title, body, or author. The author must be a project member; null clears it. Omitted fields stay as they are. Status and topics have their own endpoints.

## Request

- projectId: string, path, required — ID of the project that owns the post.
- id: string, path, required — ID of the post to update.
- authorUserId: string — User ID of the project member credited as the author. Null or omit for no author.
- body: string — Post body. Null clears it. Omit to leave unchanged.
- title: string — Post title. Omit to leave unchanged.

## Response

- 200: Successful response
  - commentCount: integer, required
  - createdAt: string, required
  - id: string, required
  - pendingApproval: boolean, required
  - projectId: string, required
  - slug: string, required
  - status: object, required
    - color: string, required
    - id: string, required
    - name: string, required
    - position: integer, required
    - showOnRoadmap: boolean, required
    - archivedAt: string
  - title: string, required
  - topics: object[], required
    - id: string, required
    - name: string, required
    - position: integer, required
    - archivedAt: string
    - color: string
    - icon: string
  - updatedAt: string, required
  - voteCount: integer, required
  - archivedAt: string
  - authorImage: string
  - authorName: string
  - authorUserId: string
  - body: string
  - excerpt: string
  - mergedAt: string
  - mergedIntoId: string
  - roadmapRank: integer
  - statusId: string
- 400: Invalid input data
- 401: Authorization not provided
- 403: Insufficient access
- 404: Not found
- 500: Internal server error
