# Update Post Topics

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

Replaces the topics on a post. Send an empty list to clear them.

## Request

- projectId: string, path, required — ID of the project that owns the post.
- id: string, path, required — ID of the post.
- topicIds: string[], required — Topic IDs to set, replacing the previous assignment.

## 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
