Teamdrives: list

Requires authorization

Warning: This item is deprecated.

Deprecated use drives.list instead. 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
fields string The paths of the fields you want included in the response. If not specified, the response includes a default set of fields specific to this method. For development you can use the special value * to return all fields, but you'll achieve greater performance by only selecting the fields you need. For more information see the partial responses documentation.
pageSize integer Maximum number of Team Drives to return. Acceptable values are 1 to 100, inclusive. (Default: 10)
pageToken string Page token for Team Drives.
q string Query string for searching Team Drives. See the "Search for shared drives" guide for the supported syntax.
useDomainAdminAccess boolean Issue the request as a domain administrator; if set to true, then all Team 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 (read more about authentication and authorization).


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#teamDriveList",
  "nextPageToken": string,
  "teamDrives": [
    teamdrives Resource
Property name Value Description Notes
kind string Identifies what kind of resource this is. Value: the fixed string "drive#teamDriveList".
nextPageToken string The page token for the next page of Team Drives. This will be absent if the end of the Team Drives 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.
teamDrives[] list The list of Team 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.

Send feedback about...

Need help? Visit our support page.