---
title: "Toggle book publish status (flip isPublic)"
method: PATCH
path: "/v2/books/{bookId}/toggle-publish"
tags: ["Books"]
---

# Toggle book publish status (flip isPublic)

`PATCH /v2/books/{bookId}/toggle-publish`

## Request

- Base URL: `http://0.0.0.0:3001/api`
- URL: `http://0.0.0.0:3001/api/v2/books/{bookId}/toggle-publish`
- Auth: none declared

## Path parameters

- `bookId` string, required

## Response `200`

Default Response

---

[API](https://skmtc.dev/storybee/apis/story-bee.md) - [All operations](https://skmtc.dev/storybee/apis/story-bee/llms.txt) - [OpenAPI document](https://skmtc.dev/storybee/apis/story-bee/revisions/d1d0477803c6?raw)
