drive.teamdrives.update
Update a Team Drive's metadata and settings—such as name, color, restrictions, and background—by sending a JSON TeamDrive object. Deprecated; use the drives update endpoint instead.
Instructions
Deprecated: Use drives.update instead [HTTP PATCH] — updates the resource; refused under --readonly safety profiles. Returns the API's response resource as JSON — request body is a JSON TeamDrive object accepting backgroundImageFile, backgroundImageLink, capabilities, colorRgb, createdTime, id, kind, name and 3 more fields; pass it via params or whole via body_file Siblings over the same resource: create, delete, get, list.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Extra KEY=VALUE query pairs for endpoints whose parameters Discovery does not describe. | |
| params | No | Parameter map merged into the request; typed parameters win. | |
| dry_run | No | Return the request that would be sent, without sending it. | |
| body_file | No | Read the request body from this file ('-' for stdin) instead of building one from the parameters. The body is a JSON TeamDrive object. | |
| teamDriveId | Yes | [URL path segment] The ID of the Team Drive | |
| request_body | No | Request body of type TeamDrive: pass it via `params` (merged into the built body) or whole via `body_file`. | |
| useDomainAdminAccess | No | [query parameter] Issue the request as a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the T | false |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| kind | No | ||
| name | No | ||
| themeId | No | ||
| colorRgb | No | ||
| orgUnitId | No | ||
| createdTime | No | ||
| capabilities | No | ||
| restrictions | No | ||
| backgroundImageFile | No | ||
| backgroundImageLink | No |