> ## Documentation index
> Fetch the complete documentation index at: https://workover.io/docs/llms.txt

# Cancel an import

POST`/workspace/{orgId}/contact-imports/{id}/cancel`

Stop an import. Rows already imported stay; the rest are dropped.

## Path Parameters

`orgId`

numberrequired

`id`

numberrequired

## Response

200

**cURL**

```bash
curl --request POST \
  --url 'https://api.workover.io/workspace/{orgId}/contact-imports/{id}/cancel'
```

**JavaScript**

```javascript
const options = {
  method: 'POST'
};

fetch('https://api.workover.io/workspace/{orgId}/contact-imports/{id}/cancel', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
```

**Python**

```python
import requests

url = "https://api.workover.io/workspace/{orgId}/contact-imports/{id}/cancel"

response = requests.post(url)

print(response.text)
```
