# cloudsync.onedrive_list_drives

Lists all available drives and their types for given Microsoft OneDrive credentials.

Type: object

##

Type: array
No Additional Items

#### Tuple Validation

##### Parameter 1: onedrive_list_drives

#### onedrive_list_drives

Type: object

CloudSyncOneDriveListDrivesArgs parameters.

No Additional Properties

##

#### Client Id

Type: string Default: ""

##

#### Client Secret

Type: string Default: ""

##

#### Token

Type: string

Must be at least `1` characters long

##

#### Result

Type: array of object
No Additional Items

##### Each item of this array must be:

#### CloudSyncOneDriveListDrivesDrive

Type: object
No Additional Properties

##

#### Drive Id

Type: string

##

#### Drive Type

Type: enum (of string)

##### Must be one of:

- "PERSONAL"
- "BUSINESS"
- "DOCUMENT_LIBRARY"

##

#### Name

Type: string

##

#### Description

Type: string

Required roles: CLOUD_SYNC_WRITE