Teamdrives: get

Requires authorization

Gets a Team Drive's metadata by ID.

Request

HTTP request

GET https://www.googleapis.com/drive/v2/teamdrives/teamDriveId

Parameters

Parameter name Value Description
Path parameters
teamDriveId string The ID of the Team Drive
Optional query parameters
useDomainAdminAccess boolean Whether the request should be treated as if it was issued by a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the Team Drive belongs. (Default: false)

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/drive
https://www.googleapis.com/auth/drive.readonly

Request body

Do not supply a request body with this method.

Response

If successful, this method returns a Teamdrives resource in the response body.

Send feedback about...

Drive REST API v2
Drive REST API v2