
Anthropic DeleteFile
CertifiedDelete an Anthropic file
Anthropic DeleteFile
Certified
Delete an Anthropic file
Deletes a file in the Anthropic Files API using the beta Files endpoint.
yaml
type: io.kestra.plugin.anthropic.DeleteFileExamples
Delete a file
yaml
id: anthropic_delete_file
namespace: company.team
tasks:
- id: delete_file
type: io.kestra.plugin.anthropic.DeleteFile
apiKey: "{{ secret('ANTHROPIC_API_KEY') }}"
fileId: "{{ outputs.upload.fileId }}"
Properties
apiKey *Requiredstring
Anthropic API Key
fileId *Requiredstring
File ID
Identifier of the file to delete.
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
Outputs
deleted boolean
Deleted
Whether the delete was successful.
fileId string
File ID
Identifier of the deleted file.