# Cancel job

You can also cancel the job that are currently in progress. Please note that after canceling a task, we will process a partial refund for the order based on the actual time it was running.&#x20;

{% hint style="info" %}
Replace `{{API_TOKEN}}` with your actual token.
{% endhint %}

**Example Request:**

{% tabs %}
{% tab title="Curl" %}
```bash
curl --location --request POST 'https://api.netmind.ai/v1/fine-tuning/job/{{JOB_ID}/cancel' \
--header 'Authorization: Bearer {{API_TOKEN}}'
```
{% endtab %}

{% tab title="Python" %}
```python
import requests

url = "https://api.netmind.ai/v1/fine-tuning/job/{{JOB_ID}}/cancel"

payload = {}
headers = {
  'Authorization': 'Bearer {{API_TOKEN}}'
}

response = requests.request("POST", url, headers=headers, data=payload)

print(response.text)

```
{% endtab %}
{% endtabs %}

**Example Response:**

```json
```
