Permanently delete a shared drive

DELETE {{baseUrl}}/drives/:driveId?key={{key}}&oauth_token={{oauthToken}}

Permanently deletes a shared drive for which the user is an organizer. The shared drive cannot contain any untrashed items.

Request Params

KeyDatatypeRequiredDescription
allowItemDeletionstringWhether any items inside the shared drive should also be deleted. This option is only supported when useDomainAdminAccess is also set to true.
useDomainAdminAccessstringIssue 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.
altstringData format for the response.
fieldsstringSelector specifying which fields to include in a partial response.
keystringAPI key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
oauth_tokenstringOAuth 2.0 token for the current user.
prettyPrintstringReturns response with indentations and line breaks.
quotaUserstringAn opaque string that represents a user for quota purposes. Must not exceed 40 characters.
userIpstringDeprecated. Please use quotaUser instead.

RESPONSES

status: OK

""