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 resource, impacting the resource as a whole and not requiring revisions or publishing."],["Utilizes an HTTP POST request with gRPC Transcoding syntax to the specified endpoint for batch deletion of Label permissions."],["Requires providing the parent Label resource name and a request body containing an array of DeleteLabelPermissionRequests."],["Offers an optional `useAdminAccess` flag to utilize admin credentials for the operation, subject to verification."],["Needs authorization with specific OAuth scopes related to Drive labels management."]]],["This document details the process of batch deleting Label permissions via a `POST` HTTP request to `https://drivelabels.googleapis.com/v2/{parent=labels/*}/permissions:batchDelete`. The `parent` path parameter specifies the Label. The request body, containing `requests[]` (an array of `DeleteLabelPermissionRequest` objects) and `useAdminAccess`, dictates the permissions to delete. Each `DeleteLabelPermissionRequest` requires a `name`. Admin credentials can be used if `useAdminAccess` is true. A successful request results in an empty response body. OAuth scopes are also required.\n"]]