---
title: "Edit a paste"
method: PUT
path: "/paste/{id}"
---

# Edit a paste

`PUT /paste/{id}`

## Path parameters

- `id` string, required

## Request body

- EditPasteRequest
  - `title` string
  - `content` string
  - `encrypted` boolean
  - `folder` string
  - `type` 'PASTE' | 'MULTI_PASTE'
  - `tags` string[]
  - `visibility` 'PUBLIC' | 'PRIVATE' | 'UNLISTED'
  - `expireAt` string

## Response `204`

Paste updated

---

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