Documentation · API reference
DELETE
/api/v1/sites/{site}/imports/{id}Take an import out
This page as Markdown, or in an AI chatMore ways to read this page
Take an import out again: its days go with it. Only in the first 30 days after it was made.
# Take an import out
> tidekeeper's API reference: https://tidekeeper.eu/docs/api/delete-sites-site-imports-id
`DELETE /api/v1/sites/{site}/imports/{id}`
Take an import out again: its days go with it. Only in the first 30 days after it was made.
## Parameters
- `site` (in path, needed): The site's id or name
- `id` (in path, needed): The import
## The answer
204
## Asking
```sh
curl -X DELETE https://tidekeeper.eu/api/v1/sites/example.org/imports/{id} \
-H "Authorization: Bearer $TIDEKEEPER_TOKEN"
```
Parameters
- sitein the address
- neededThe site's id or name
- idin the address
- neededThe import
The answer
Status 204
Asking
curl -X DELETE https://tidekeeper.eu/api/v1/sites/example.org/imports/{id} \ -H "Authorization: Bearer $TIDEKEEPER_TOKEN"
const answer = await fetch("https://tidekeeper.eu/api/v1/sites/example.org/imports/{id}", { method: "DELETE", headers: { Authorization: `Bearer ${process.env.TIDEKEEPER_TOKEN}`, }, }).then((r) => r.json());