---
title: "Invoke action checkout"
method: POST
path: "/drives/{driveId}/root/microsoft.graph.checkout"
tags: ["drives.driveItem"]
---

# Invoke action checkout

`POST /drives/{driveId}/root/microsoft.graph.checkout`

Check out a driveItem resource to prevent others from editing the document, and prevent your changes from being visible until the documented is checked in.

## Path parameters

- `driveId` string, required

## Response `2XX`

Success

## Other responses

- `default` — error

---

[API](https://skmtc.net/ballerina-platform/apis/files.md) · [All operations](https://skmtc.net/ballerina-platform/apis/files/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ballerina-platform/files/revisions/c34150e97737/schema)
