- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Updates a label's permissions. If a permission for the indicated principal doesn't exist, a label permission is created, otherwise the existing permission is updated. Permissions affect the label resource as a whole, aren't revisioned, and don't require publishing.
HTTP request
 POST 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 the label permission is created. Format:  | 
Query parameters
| Parameters | |
|---|---|
| useAdminAccess |   Set to  | 
Request body
The request body contains an instance of  LabelPermission 
 
.
Response body
If successful, the response body contains a newly created instance of  LabelPermission 
 
.
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 .

