Method: labels.revisions.permissions.delete

Deletes a Label's permission. Permissions affect the Label resource as a whole, are not revisioned, and do not require publishing.

HTTP request

DELETE https://drivelabels.googleapis.com/v2/{name=labels/*/revisions/*/permissions/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. Label Permission resource name.

Query parameters

Parameters
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.

Request body

The request body must be empty.

Response body

If successful, the response body is empty.

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/drive.labels
  • https://www.googleapis.com/auth/drive.admin.labels

For more information, see the Authorization guide.