---
title: "DELETE Timeclock event"
method: DELETE
path: "/timeclocks/event/{timeclock}?access_token=xxxxxxx"
---

# DELETE Timeclock event

`DELETE /timeclocks/event/{timeclock}?access_token=xxxxxxx`

## Request

- Base URL: `https://www.humanity.com/api/v2`
- URL: `https://www.humanity.com/api/v2/timeclocks/event/{timeclock}?access_token=xxxxxxx`
- Auth: API key in query parameter `access_token`

/timeclocks/event/{timeclock}
Permission level: 5

## Query parameters

- `timeclock` integer, required

## Request body `application/x-www-form-urlencoded`

- object
  - `type` string, required: Accepted parameter value is of these constant strings: delete, restore. Value "delete" is used for removing events from assigned time clock, and "restore" is used for restoring them if they are deleted.
  - `event` string, required: A string containing a pipe ( | ) delimited list of events ids for removal or restoration.

## Response `200`

200

- object
  - `status` integer
  - `data` object
    - `status` string
  - `metadata` unknown[]
    - unknown
  - `token` string
  - `error` unknown

## Other responses

- `400`: 400

## Changes

- **2026-11-03** `ffb87b44c733`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/humanity-com/apis/humanity/changes/timeclocks/event/:timeclock%3Faccess_token=xxxxxxx/delete.md)

---

[API](https://skmtc.dev/humanity-com/apis/humanity.md) - [All operations](https://skmtc.dev/humanity-com/apis/humanity/llms.txt) - [OpenAPI document](https://skmtc.dev/humanity-com/apis/humanity/revisions/ffb87b44c733?raw)
