Infomaniak Kdrive icon

Infomaniak Kdrive

Interact with Infomaniak Kdrive API

Actions178

Drive > Files > File/Directory > Upload > Session → Cancel Session

AI-generated

Summary

Cancels an active upload session on Infomaniak kDrive using the specified drive ID and session token.

Inputs

  • authentication — Choose whether to authenticate using OAuth2 or an API Key.
  • path_drive_id (required) — The unique identifier for the kDrive.
  • path_session_token (required) — The UUID token of the upload session to cancel.
  • returnFullResponse — Whether to return the complete response object from the API instead of just the extracted data payload.

Output shape

a single object

Returns the extracted response payload confirming the cancellation, or the full raw API response structure if Return Full Response is enabled.

Examples

Example 1: Cancel an abandoned upload session

Set Drive Id to 123456 and Session Token to 7890.

Links

Discussion