Skip to content
Product Docs

Delete Project

client.projects.delete(stringprojectID, ProjectDeleteParams { organization_id } params?, RequestOptionsoptions?): void
DELETE/api/v2/projects/{project_id}

Delete a project by ID.

ParametersExpand Collapse
projectID: string
params: ProjectDeleteParams { organization_id }
organization_id?: string | null

Delete Project

import LlamaCloudAdmin from '@llamaindex/llama-cloud-admin';

const client = new LlamaCloudAdmin({
  apiKey: process.env['LLAMA_CLOUD_API_KEY'], // This is the default and can be omitted
});

await client.projects.delete('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e');
Returns Examples