---
title: "Dismiss a library offer"
method: POST
path: "/api/reader/library-offer/dismiss"
tags: ["libraries"]
---

# Dismiss a library offer

`POST /api/reader/library-offer/dismiss`

## Request

- Base URL: `https://leafle.org` (the document declares no server; this is the origin it was published from)
- URL: `https://leafle.org/api/reader/library-offer/dismiss`
- Auth: HTTP bearer

**Access: write token.**

Dismiss the named pending chat offer for this reader. A stale offer ID has no effect on a newer offer.

## Request body

- DismissOfferIn
  - `reader_id` integer, nullable
  - `offer_id` string, required

## Response `200`

Successful Response

- Ok: The mutation acknowledgement: ``{"ok": true}``.
  - `ok` boolean, required

## Other responses

- `401`: Missing or unusable credential.
- `403`: Insufficient token scope or the reader is outside your account.
- `422`: Validation Error

---

[API](https://skmtc.dev/leafle/apis/leafle-api.md) · [All operations](https://skmtc.dev/leafle/apis/leafle-api/llms.txt) · [OpenAPI document](https://skmtc.dev/leafle/apis/leafle-api/revisions/f2e56cb74495?raw)
