- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Lists a Label's permissions.
HTTP request
GET https://drivelabels.googleapis.com/v2/{parent=labels/*}/permissions
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The parent Label resource name on which Label Permission are listed. Format: labels/{label} |
Query parameters
Parameters | |
---|---|
useAdminAccess |
Set to |
pageSize |
Maximum number of permissions to return per page. Default: 50. Max: 200. |
pageToken |
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.