Api
Unpublish (withdraw) a book
Authorization
apiKey apikey<token>
In: header
Path Parameters
bookPublicId*string
Format
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://api.publishdrive.com/v2/distribution/books/e9e0d212-52cb-11f1-8d0d-aedf0546306a/unpublish" \ -H "Content-Type: application/json" \ -d '{}'Empty
Empty
Empty
{
"message": "Book not found"
}{
"title": "Unprocessable Content",
"status": 422,
"detail": "Validation failed",
"instance": "/v2/distribution/books/e9e0d212-52cb-11f1-8d0d-aedf0546306a/unpublish",
"invalidParams": []
}