Skip to main content
POST
Create a folder in OneDrive or a SharePoint library

Authorizations

x-api-key
string
header
required

Organization API key passed as the x-api-key header. The raw key is the header value; do not prefix it with Bearer.

Body

application/json
parentId
string
required

Existing parent folder id in that drive.

Required string length: 1 - 512
name
string
required
Required string length: 1 - 255
driveId
string

The file's driveId from a search, folder or link result. Omit for the member's own OneDrive.

Required string length: 1 - 512

Response

Microsoft Graph mutation receipt returned.

ok
boolean
required
file
object
required