Actions87
- Admin Actions
- API Key Actions
- Assistant Actions
- Auth Actions
- Customer Actions
- Dashboard Actions
- Event Actions
- File Actions
- File Folder Actions
- Invoice Actions
- Note Actions
- Password Actions
- Product Actions
- Profile Actions
- Project Actions
- STSS Actions
- Table Actions
- Task Actions
- Tax Actions
- Transcription Actions
- User Actions
File → Delete
AI-generatedSummary
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.