drives
DELETE /drives/{driveId}
Permanently deletes a shared drive for which the user is an organizer. The shared drive cannot contain any untrashed items. For more information, see Manage shared drives.
Request
- Base URLhttps://www.googleapis.com/drive/v3
- AuthOAuth 2 and OAuth 2Implicithttps://accounts.google.com/o/oauth2/authScopeshttps://www.googleapis.com/auth/driveAuthorization codehttps://accounts.google.com/o/oauth2/authToken URLhttps://accounts.google.com/o/oauth2/tokenScopeshttps://www.googleapis.com/auth/drive
Path parameters
driveIdstring required
The ID of the shared drive.
Query parameters
allowItemDeletionboolean
Whether any items inside the shared drive should also be deleted. This option is only supported when useDomainAdminAccess is also set to true.
useDomainAdminAccessboolean
Issue the request as 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 shared drive belongs.
Response
Successful response
Changes
No recorded changes to this operation across all 6 revisions of this API.