## Delete Classify Job

`client.classify.delete(stringjobID, ClassifyDeleteParamsparams?, RequestOptionsoptions?): ClassifyDeleteResponse`

**delete** `/api/v2/classify/{job_id}`

Delete a classify job and its result.

The job must be in a terminal state (COMPLETED, FAILED, CANCELLED). Cancel a job that is still running before deleting it.

Returns the identifiers of the deleted job.

### Parameters

- `jobID: string`

- `params: ClassifyDeleteParams`

  - `organization_id?: string | null`

  - `project_id?: string | null`

### Returns

- `ClassifyDeleteResponse`

  Identifiers for a deleted classify job.

  - `id: string`

    Identifier of the deleted classify job

  - `project_id?: string | null`

    Project the deleted job belonged to

### Example

```typescript
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
});

const classify = await client.classify.delete('job_id');

console.log(classify.id);
```

#### Response

```json
{
  "id": "clj-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
  "project_id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
}
```
