## Delete Parse Job

`ParsingDeleteResponse Parsing.Delete(ParsingDeleteParamsparameters, CancellationTokencancellationToken = default)`

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

Delete a parse job and its results.

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

A job that a document in Evaluate reads its ground truth from can't be deleted. It is kept until the document is removed from Evaluate or the project is deleted.

Returns the identifiers of the deleted job.

### Parameters

- `ParsingDeleteParams parameters`

  - `required string jobID`

  - `string? organizationID`

  - `string? projectID`

### Returns

- `class ParsingDeleteResponse:`

  Confirmation that a parse job was deleted.

  A deleted job can no longer be fetched, so the response echoes back what it
  was rather than pointing at it. Returning the identifiers instead of an
  empty body lets a caller assert on the delete it just made without a
  follow-up request.

  - `required string ID`

    Identifier of the deleted parse job

  - `required string ProjectID`

    Project the deleted job belonged to

### Example

```csharp
ParsingDeleteParams parameters = new() { JobID = "job_id" };

var parsing = await client.Parsing.Delete(parameters);

Console.WriteLine(parsing);
```

#### Response

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