| Field | Type | Required | Description | Example |
|---|---|---|---|---|
name |
string | ✔️ | The name of the file. | Documents |
parentFolderId |
string | ✔️ | The parent folder to create the new file within. This can be an ID or a path depending on the downstream folder. Please see the connector section below to see downstream specific gotchas. | 1234 |
driveId |
?string | ➖ | ID of the drive to upload to. | 1234 |
size |
int | ✔️ | The size of the file in bytes | 1810673 |
passThrough |
array<Components\PassThroughBody> | ➖ | The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources. |