Skip to main content
PATCH
Deactivate a book

Authorizations

Authorization
string
header
required

JWT obtained from the authentication endpoint

Path Parameters

bookId
string
required

Unique identifier of the book to deactivate

Body

application/json

Optional deactivation metadata

notes
string

Internal notes about the deactivation

Maximum string length: 1000
Example:

"Removed due to publisher request"

Response

Book successfully deactivated. If the book is already INACTIVE, this is a no-op and returns the current state.

status
enum<string>
Available options:
success
Example:

"success"

message
string
Example:

"Book deactivated successfully"

data
object
Last modified on July 25, 2026