---
title: "PUT /books"
method: PUT
path: "/books"
---

# PUT /books

`PUT /books`

Puts a book

## Request body

- Book
  - `id` integer
  - `name` string
  - `author` string, mongo-id
  - `genre` 'scifi' | 'mystery' | 'horror'
  - `other` unknown
  - `otherArray` unknown

## Response `200`

Success

- Book
  - `id` integer
  - `name` string
  - `author` string, mongo-id
  - `genre` 'scifi' | 'mystery' | 'horror'
  - `other` unknown
  - `otherArray` unknown

## Other responses

- `default` — Error

## Changes

- **2017-04-26** `8ac27cf68470` — 1 info
  - endpoint added
- **2016-10-20** `ae670caf5c72` — 1 breaking
  - api removed without deprecation

[Change history](https://skmtc.dev/clever/apis/swagger-test/changes/books/put.md)

---

[API](https://skmtc.dev/clever/apis/swagger-test.md) · [All operations](https://skmtc.dev/clever/apis/swagger-test/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/clever/swagger-test/revisions/4208ba32ef8e/schema)
