TeamHub icon

TeamHub

Consume the TeamHub Business Management API

File → Delete

AI-generated

Summary

Delete a file from TeamHub by specifying its File ID.

Inputs

  • File ID (required) — The unique identifier of the file to delete.
  • Options — Optional settings such as whether to allow unauthorized SSL certificates during the request.

Output shape

a single record confirming deletion or an error message

You must provide a valid File ID. The operation sends a DELETE request to the TeamHub API at endpoint /api/files/{id}. If successful, the node returns a confirmation JSON object for the deleted file. If an error occurs, it returns an error message unless continueOnFail is enabled.

Examples

Example 1: Delete a file by its ID

Set resource to 'File' and operation to 'Delete', then provide the File ID to delete the specified file from TeamHub.

Links

Discussion