---
title: "Delete a users TOIL"
method: DELETE
path: "/api/users/{userId}/allowances/{year}/toil/{id}"
tags: ["Allowances"]
---

# Delete a users TOIL

`DELETE /api/users/{userId}/allowances/{year}/toil/{id}`

## Request

- Base URL: `https://app.timetastic.co.uk` (the document declares no server; this is the origin it was published from)
- URL: `https://app.timetastic.co.uk/api/users/{userId}/allowances/{year}/toil/{id}`
- Auth: none declared

Deletes a users TOIL entry

## Path parameters

- `userId` integer, required
- `year` integer, required
- `id` integer, required

## Response `200`

The TOIL was successfully deleted

## Other responses

- `400`: Invalid input data or validation error
- `403`: You don't have permission to manage this TOIL
- `404`: The requested resource cannot be found

---

[API](https://skmtc.dev/timetastic/apis/timetastic-api.md) · [All operations](https://skmtc.dev/timetastic/apis/timetastic-api/llms.txt) · [OpenAPI document](https://skmtc.dev/timetastic/apis/timetastic-api/revisions/709ccb0412c3?raw)
