## Delete Classify Job

`classify.delete(strjob_id, ClassifyDeleteParams**kwargs)  -> 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

- `job_id: str`

- `organization_id: Optional[str]`

- `project_id: Optional[str]`

### Returns

- `class ClassifyDeleteResponse: …`

  Identifiers for a deleted classify job.

  - `id: str`

    Identifier of the deleted classify job

  - `project_id: Optional[str]`

    Project the deleted job belonged to

### Example

```python
import os
from llama_cloud import LlamaCloud

client = LlamaCloud(
    api_key=os.environ.get("LLAMA_CLOUD_API_KEY"),  # This is the default and can be omitted
)
classify = client.classify.delete(
    job_id="job_id",
)
print(classify.id)
```

#### Response

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