library-graphql
Mutation.deleteBook
GRAPHQL
Mutation.deleteBookDelete a book and unlink it from its author. A currently borrowed book cannot be deleted. Returns the deleted book's id.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | argument | ID! | yes | The id of the book to delete. |