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.
allowItemDeletion
boolean
Whether any items inside the shared drive should also be deleted. This option is only supported when useDomainAdminAccess is also set to true.
Request body
The request body must be empty.
Response body
If successful, the response body is empty.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/drive
Some scopes are restricted and require a security assessment for your app to use them. For more information, see the Authorization guide.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-17 UTC."],[[["Permanently deletes an empty shared drive for which the user is an organizer."],["Requires the `driveId` as a path parameter to identify the shared drive to be deleted."],["Offers optional query parameters `useDomainAdminAccess` and `allowItemDeletion` for administrative control over deletion."],["Uses a `DELETE` request to `https://www.googleapis.com/drive/v3/drives/{driveId}` and requires authorization with the `https://www.googleapis.com/auth/drive` scope."],["The request body must be empty and a successful response will also be empty."]]],[]]