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

# PUT /authors

`PUT /authors`

Gets authors, but needs to use the body so it's a PUT

## Query parameters

- `name` string
- `startingAfter` string

## Request body

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

## Response `200`

Success

- AuthorsResponse
  - `authorSet` AuthorSet
    - `randomProp` integer
    - `results` Author[]
      - `id` string
      - `name` string
  - `metadata` AuthorsResponseMetadata
    - `count` integer

---

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