---
title: "Reject a book"
method: POST
path: "/api/dislike"
tags: ["picks"]
---

# Reject a book

`POST /api/dislike`

## Request

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

**Access: write token.**

Exclude a book from future recommendations, with an optional reason. Posting the same book again updates its reason.

## Request body

- DislikeIn
  - `title` string, required
  - `author` string, nullable
  - `reason` string, nullable
  - `reader_id` integer, nullable

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