Requires edit_books. mode: archive (default) sets isActive = 0, archivedAt and archivedByUserId, keeping files, translations and download history. mode: permanent requires the book to already be archived and removes it along with all related rows and storage files. Legacy aliases soft → archive and hard → permanent are accepted.
Request
Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.