Skip to main content

deleteBook

This action allows you to permanently delete a publication.

info

The API key must have access rights to publish.

danger

Deletion is permanent and cannot be undone. If you only want to make a publication unavailable for a while, use deactivateBook instead: it can be reactivated later with activateBook.

Request​

NameTypeDefaultDescription
apikeyRequired
stringAPI public key
signatureRequired
stringSignature of the request. See how to sign your requests
expires
timestampUNIX timestamp for request expiration (GMT)
output
stringFormat of the response. Either XML (default), JSON or PHP
book_idRequired
stringID of the publication to delete

Response​

NameTypeDefaultDescription
statusstringThis request sends the character string ok if successful.

Example response​

JSON
{
"response": {
"status": "ok",
"version": 2,
"requestid": "LAfdRB",
"requests": 257
}
}