Delete Pipeline File
client.pipelines.files.delete(stringfileID, FileDeleteParams { pipeline_id } params, RequestOptionsoptions?): void
DELETE/api/v1/pipelines/{pipeline_id}/files/{file_id}
Delete a file from a pipeline.
Parameters
fileID: string
Delete Pipeline File
import LlamaCloud from '@llamaindex/llama-cloud';
const client = new LlamaCloud({
apiKey: process.env['LLAMA_CLOUD_API_KEY'], // This is the default and can be omitted
});
await client.pipelines.files.delete('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e', {
pipeline_id: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
});