# Types.CreateDriveInput

Input type describing the SharePoint drive to create.

> Kind: Apex type · Updated: 2026-07-01

This custom Apex type represents the input for the Client.createSharePointDrive() method. It describes the new drive to create and the SharePoint site to create it in.

## Fields

### Fields
| Parameter | Type | Required | Description |
|---|---|---|---|
| name | String | required | Provide a name to create the new drive. |
| siteId | String | required | Provide the SiteId of the site where you want to create the new drive. |
| disableInheritedPermissions | Boolean | optional | When true, the new drive does not inherit permissions from its parent site. |
| siteColumns | List&lt;<a href="#/apex-type-drive-column">DriveColumn</a>&gt; | optional | Site columns to attach to the new drive. Each entry is a DriveColumn. |
| contentTypes | List&lt;String&gt; | optional | Content types to enable on the new drive. |

## Constructors

```apex
global CreateDriveInput(
  String name,
  String siteId
)
```

```apex
global CreateDriveInput(
  String name,
  String siteId,
  Boolean disableInheritedPermissions
)
```

```apex
global CreateDriveInput(
  String name,
  String siteId,
  Boolean disableInheritedPermissions,
  List<DriveColumn> siteColumns
)
```

```apex
global CreateDriveInput(
  String name,
  String siteId,
  Boolean disableInheritedPermissions,
  List<DriveColumn> siteColumns,
  List<String> contentTypes
)
```
