Drives: list

Lists the user's shared drives. Try it now.

This method accepts the q parameter, which is a search query combining one or more search terms. For more information, see the Search for shared drives guide.


HTTP request



Parameter name Value Description
Optional query parameters
pageSize integer Maximum number of shared drives to return per page. Acceptable values are 1 to 100, inclusive. (Default: 10)
pageToken string Page token for shared drives.
q string Query string for searching shared drives. See the "Search for shared drives" guide for supported syntax.
useDomainAdminAccess boolean Issue the request as a domain administrator; if set to true, then all shared drives of the domain in which the requester is an administrator are returned. (Default: false)


This request requires authorization with at least one of the following scopes:


Some scopes are restricted and require a security assessment for your app to use them. For more information, see the authentication and authorization page.

Request body

Do not supply a request body with this method.


If successful, this method returns a response body with the following structure:

  "kind": "drive#driveList",
  "nextPageToken": string,
  "drives": [
    drives Resource
Property name Value Description Notes
kind string Identifies what kind of resource this is. Value: the fixed string "drive#driveList".
nextPageToken string The page token for the next page of shared drives. This will be absent if the end of the list has been reached. If the token is rejected for any reason, it should be discarded, and pagination should be restarted from the first page of results.
drives[] list The list of shared drives. If nextPageToken is populated, then this list may be incomplete and an additional page of results should be fetched.

Try it!

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