Delete file
delete_fileDelete a batch file or bound image/reference file. Supports Anthropic Files API mode for bound workspaces.
Instructions
Delete file Deletes a batch file or a bound image/reference file. When the request includes anthropic-beta: files-api-2025-04-14, the route uses Anthropic Files API mode for the bound workspace.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | File ID returned by the Files API. | |
| anthropic-beta | No | Include files-api-2025-04-14 to use Anthropic Files API mode. |