---
title: "Update Topic Attachment information"
method: PUT
path: "/api/users/:userId/topics/:topicId/attachments/:attachmentId"
tags: ["attachments"]
---

# Update Topic Attachment information

`PUT /api/users/:userId/topics/:topicId/attachments/:attachmentId`

Update Topic Attachment information

## Path parameters

- `userId` string, required
- `topicId` string, required
- `attachmentId` string, required

## Request body

- object
  - `name` string

## Response `200`

New Attachment added successfully

- object
  - `status` object
    - `code` integer
  - `data` Attachment
    - `name` string
    - `type` string
    - `size` integer
    - `source` string
    - `creatorId` string
    - `link` string

---

[API](https://skmtc.net/citizenos/apis/citizenos-api.md) · [All operations](https://skmtc.net/citizenos/apis/citizenos-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/citizenos/citizenos-api/versions/ca28908e6b75/schema)
