BeDrive icon

BeDrive

Consume BeDrive API

Delete File

AI-generated

Summary

Delete a file from a specified workspace in BeDrive by providing the workspace and file identifiers.

Inputs

  • Workspace (required) — The workspace ID where the target file resides; can be selected from a list or entered by ID.
  • File (required) — The file ID to delete, selectable from the list of files within the chosen workspace, or enter the ID manually.

Output shape

a single record with confirmation of deletion, including fileId, workspaceId, and a deleted flag.

Returns deletion status in the JSON output merged with input data. Throws an error if workspace ID or file ID is missing or if the API request fails.

Links

Discussion