# JobShard.PersistRemoveJobAsync(string, CancellationToken)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.durablejobs/orleans.durablejobs.jobshard/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.durablejobs/orleans.durablejobs.jobshard/methods/)

```csharp
protected abstract Task PersistRemoveJobAsync(string jobId, CancellationToken cancellationToken)
```

Persists the removal of a job from the underlying storage.

### Parameters

- `jobId` (`string`): The unique identifier of the job to remove.
- `cancellationToken` (`CancellationToken`): A token to cancel the operation.

### Returns

A task that represents the asynchronous operation.
