Required. The parent Label resource name shared by all permissions being deleted. Format: labels/{label} If this is set, the parent field in the UpdateLabelPermissionRequest messages must either be empty or match this field.
Request body
The request body contains data with the following structure:
Required. The request message specifying the resources to update.
useAdminAccess
boolean
Set to true in order to use the user's admin credentials. The server will verify the user is an admin for the Label before allowing access. If this is set, the useAdminAccess field in the DeleteLabelPermissionRequest messages must either be empty or match this field.
[[["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-04 UTC."],[[["Deletes permissions for a Label, impacting the entire resource and not requiring revisions or publishing."],["Utilizes an HTTP POST request to `https://drivelabels.googleapis.com/v2beta/{parent=labels/*}/permissions:batchDelete` for batch deletion of permissions."],["Requires specifying the parent Label resource name and providing an array of DeleteLabelPermissionRequest objects in the request body."],["Offers an option to use admin credentials for the operation, enhancing control over permission management."],["Needs authorization with either `https://www.googleapis.com/auth/drive.labels` or `https://www.googleapis.com/auth/drive.admin.labels` scopes."]]],["This content outlines the process for batch deleting Label permissions via an API. It uses a `POST` HTTP request to `drivelabels.googleapis.com/v2beta/{parent=labels/*}/permissions:batchDelete`. The request body includes an array of `DeleteLabelPermissionRequest` objects, each specifying a permission's resource `name`. An optional `useAdminAccess` field in the request body or each message allows administrator credential use. Deletion requires `drive.labels` or `drive.admin.labels` OAuth scopes, and a successful operation results in an empty response body.\n"]]