Anthropic DeleteFile

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.DeleteFile

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

Anthropic API Key

File ID

Identifier of the file to delete.

Reference (ref) of the pluginDefaults to apply to this task.

Deleted

Whether the delete was successful.

File ID

Identifier of the deleted file.