openintegration200+ connectors

Delete upload session in OneDrive

File Storage API · write, waits for approval · 100% field coverage

Your agent can delete upload session in OneDrive through Apideck's File Storage API, the same call it makes for every File Storage app. It changes data in the customer's OneDrive account, so it stops with the exact request until a person approves it. Apideck adds the customer's OneDrive credentials, so no token ever reaches the agent.

Paste into Claude Code, Cursor or any coding agent.

The call

DELETE https://unify.apideck.com/file-storage/upload-sessions/{id}

Headers: x-apideck-service-id: onedrive, plus your app id and the customer's consumer id. Apideck MCP tool: file-storage-upload-sessions-delete. Agent operation id: unified.file-storage.uploadSessionsDelete.

ParameterInDescription
id · requiredpathID of the record you are acting upon.

More for upload sessions in OneDrive

create_upload_sessionget_upload_session

Delete upload session in other File Storage apps

The same call works for each of these; only the service id changes.

BoxGoogle DriveSharePoint