v1

latestOpenAPI 3.0.42026-07-1778875788.7 KB
drives.drive

Update entity in drives

patch/drives/{driveId}

Path parameters

driveIdstring required

The unique identifier of drive

Request body

idstring

The unique identifier for an entity. Read-only.

createdDateTimestring date-time

Date and time of item creation. Read-only.

descriptionstring nullable

Provides a user-visible description of the item. Optional.

eTagstring nullable

ETag for the item. Read-only.

lastModifiedDateTimestring date-time

Date and time the item was last modified. Read-only.

namestring nullable

The name of the item. Read-write.

webUrlstring nullable

URL that either displays the resource in the browser (for Office file formats), or is a direct link to the file (for other formats). Read-only.

driveTypestring nullable

Describes the type of drive represented by this resource. OneDrive personal drives return personal. OneDrive for Business returns business. SharePoint document libraries return documentLibrary. Read-only.

systemSystemFacet

Response

Success

idstring

The unique identifier for an entity. Read-only.

createdDateTimestring date-time

Date and time of item creation. Read-only.

descriptionstring nullable

Provides a user-visible description of the item. Optional.

eTagstring nullable

ETag for the item. Read-only.

lastModifiedDateTimestring date-time

Date and time the item was last modified. Read-only.

namestring nullable

The name of the item. Read-write.

webUrlstring nullable

URL that either displays the resource in the browser (for Office file formats), or is a direct link to the file (for other formats). Read-only.

driveTypestring nullable

Describes the type of drive represented by this resource. OneDrive personal drives return personal. OneDrive for Business returns business. SharePoint document libraries return documentLibrary. Read-only.

systemSystemFacet