Mylibrary.bookshelves: clearVolumes

  • The clearVolumes method requires authorization and clears all volumes from a bookshelf.

  • This method uses an HTTP POST request to a specific API endpoint.

  • The request requires a shelf parameter to identify the bookshelf, and optionally accepts a source parameter.

  • Authorization is required using the https://www.googleapis.com/auth/books scope.

  • A successful response will have an empty response body.

Requires authorization

Clears all volumes from a bookshelf. Try it now.

Request

HTTP Request

POST https://www.googleapis.com/books/v1/mylibrary/bookshelves/shelf/clearVolumes

Parameters

Parameter Name Value Description
Required Parameters
shelf string ID of bookshelf from which to remove a volume.
Optional Parameters
source string String to identify the originator of this request.

Authorization

This request requires authorization with at least one of the following scopes (read more about authentication and authorization).

Scope
https://www.googleapis.com/auth/books

Request Body

Do not supply a request body with this method.

Response

If successful, this method returns an empty response body.

Try It!

Use the explorer below to call this method on live data and see the response.