delete_file
Irreversibly delete a file from the File Manager. Any campaigns or templates referencing the file will show broken images.
Instructions
Permanently delete a file from the File Manager.
Irreversible. Any campaign or template still referencing the file's hosted URL will show a broken image afterwards. Use list_files to find the file_id and get_file to confirm the target before deleting.
Args: file_id: File ID (numeric, as a string) from list_files.
Returns: JSON with status 'success' on deletion, or an error object if file_id is invalid.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | ||
| file_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |