Delete File
Parameters
Returns
Delete File
require "anthropic"
anthropic = Anthropic::Client.new(api_key: "my-anthropic-api-key")
deleted_file = anthropic.beta.files.delete("file_id")
puts(deleted_file)Response 200
{
"id": "id",
"type": "file_deleted"
}Returns Examples
Response 200
{
"id": "id",
"type": "file_deleted"
}