Method: labels.revisions.permissions.list

Lists a Label's permissions.

HTTP request

GET https://drivelabels.googleapis.com/v2beta/{parent=labels/*/revisions/*}/permissions

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent Label resource name on which Label Permission are listed. Format: labels/{label}

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.

pageSize

integer

Maximum number of permissions to return per page. Default: 50. Max: 200.

pageToken

string

The token of the page to return.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of ListLabelPermissionsResponse.

Authorization scopes

Requires one of the following OAuth scopes:

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

For more information, see the Authorization guide.