Actions18
File → Delete
AI-generatedSummary
Delete a file permanently or move it to trash.
Inputs
- fileId (required) — ID of the file
- deleteForever — Whether to permanently delete the file instead of moving to trash
Output shape
JSON response from the Sahabaa API
The API returns a JSON payload indicating the deletion result.
Examples
Example 1: Move file to trash
fileId=123, deleteForever=false
Example 2: Permanently delete file
fileId=123, deleteForever=true