drive.teamdrives.create
Creates a Team Drive with a required idempotency key and returns the API response as JSON; use drives.create instead.
Instructions
Deprecated: Use drives.create instead [HTTP POST] — creates or triggers a change; 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: delete, get, list, update.
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. | |
| requestId | Yes | [query parameter] Required. An ID, such as a random UUID, which uniquely identifies this user's request for idempotent creation of a Team Drive. A repeated request by the same us | |
| request_body | No | Request body of type TeamDrive: pass it via `params` (merged into the built body) or whole via `body_file`. |
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 |