Claude Platform Docs

Elimina file

$ ant files delete
DELETE/v1/files/{file_id}

Elimina file

Parameters
--file-id: string

ID of the File.

Returns
deleted_file: object{ id, type }
id: string

ID of the deleted file.

type: optional "file_deleted"

Deleted object type.

For file deletion, this is always "file_deleted".

Elimina file
ant files delete \
  --api-key my-anthropic-api-key \
  --file-id file_id
Returns Examples
Response 200
{
  "id": "file_011CNha8iCJcU1wXNR6q4V8w",
  "type": "file_deleted"
}