---
title: "Delete Time Tracking Import"
method: DELETE
path: "/api/v1/time-tracking/imports/{id}"
tags: ["Time Tracking", "Public API"]
---

# Delete Time Tracking Import

`DELETE /api/v1/time-tracking/imports/{id}`

## Request

- Base URL: `https://companySubDomain.bamboohr.com`
- URL: `https://companySubDomain.bamboohr.com/api/v1/time-tracking/imports/{id}`
- Auth: one of:
  - HTTP basic
  - OAuth 2
    - Authorization code: `/authorize.php`
    - Token URL: `/token.php` scopes: `time_tracking:imports.write`
- TypeScript: <https://skmtc.dev/bamboohr/apis/bamboohr-api/docs/api/v1/time-tracking/imports/:id/delete.ts> (a function with typed inputs; its response is checked against the schema)

Deletes a time tracking import. The import is soft-deleted and stops being returned by any of the read endpoints, along with its rows. Deletion is terminal - a deleted import cannot be restored or executed - and idempotent, so an import that is already gone, or never existed, still reports success. Deleting a `COMPLETE` import does not undo it: the time tracking records its rows created stay in place and are deleted through the timesheet endpoints. An import that is being executed cannot be deleted until that execute finishes.

OAuth Scopes: time_tracking:imports.write

## Path parameters

- `id` integer, required

## Response `204`

The import is deleted. Returned whether the request deleted it or it was already gone.

## Other responses

- `401`: Unauthorized. Missing or invalid authentication.
- `403`: Forbidden. Insufficient permissions.
- `409`: An execute of the import is still running.
- `422`: The import ID is not a positive integer.

## Changes

- **2026-11-03** `922fc15f43a7`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/bamboohr/apis/bamboohr-api/changes/api/v1/time-tracking/imports/:id/delete.md)

---

[API](https://skmtc.dev/bamboohr/apis/bamboohr-api.md) - [All operations](https://skmtc.dev/bamboohr/apis/bamboohr-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bamboohr/apis/bamboohr-api/revisions/922fc15f43a7?raw)
