# Delete job

The ees-sdk makes it easy to delete a job given it's index.

```typescript
const transactionReceipt: TransactionReceipt = await eesSDK.deleteJob(index);
```

Here `index` is of type `bigint` and specifies the index of job to delete. The returned value of viem's type `TransactionReceipt` gives information about the transaction.

{% hint style="warning" %}
**Warning:** Deletion of a job is restricted to the owner unless the job is expired which is determined by it's execution module.
{% endhint %}

{% hint style="warning" %}
**Warning:** This action will perform an on-chain transaction and requires that the eesSDK object was initialised with a wallet client.
{% endhint %}
