## Delete Classify Job

`client.Classify.Delete(ctx, jobID, body) (*ClassifyDeleteResponse, error)`

**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`

- `body ClassifyDeleteParams`

  - `OrganizationID param.Field[string]`

  - `ProjectID param.Field[string]`

### Returns

- `type ClassifyDeleteResponse struct{…}`

  Identifiers for a deleted classify job.

  - `ID string`

    Identifier of the deleted classify job

  - `ProjectID string`

    Project the deleted job belonged to

### Example

```go
package main

import (
  "context"
  "fmt"

  "github.com/run-llama/llama-parse-go"
  "github.com/run-llama/llama-parse-go/option"
)

func main() {
  client := llamacloud.NewClient(
    option.WithAPIKey("My API Key"),
  )
  classify, err := client.Classify.Delete(
    context.TODO(),
    "job_id",
    llamacloud.ClassifyDeleteParams{

    },
  )
  if err != nil {
    panic(err.Error())
  }
  fmt.Printf("%+v\n", classify.ID)
}
```

#### Response

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