---
title: "Unpin"
method: POST
path: "/api/v1/threads/unpin"
tags: ["folders"]
---

# Unpin

`POST /api/v1/threads/unpin`

## Request body

- PinThreadsRequest
  - `threadIds` string[], required
  - `userId` string

## Response `200`

FileThreadsResult

- FileThreadsResultEncoded
  - `outcomes` ThreadOutcomeEncoded[], required
    - `threadId` string, required
    - `outcome` 'ok' | 'not_found' | 'not_allowed', required

## Other responses

- `400` — capy/InvalidRequest
- `401` — capy/Unauthorized
- `403` — capy/Forbidden

---

[API](https://skmtc.dev/capy/apis/capy-api.md) · [All operations](https://skmtc.dev/capy/apis/capy-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/capy/capy-api/revisions/e9babb6783f3/schema)
