---
title: "Cancel an owned open maintenance task"
method: DELETE
path: "/api/v1/operations/maintenance/{eventId}"
tags: ["Maintenance"]
---

# Cancel an owned open maintenance task

`DELETE /api/v1/operations/maintenance/{eventId}`

## Request

- Base URL: `https://fleetkeep.co.uk`
- URL: `https://fleetkeep.co.uk/api/v1/operations/maintenance/{eventId}`
- Auth: OAuth 2 (authorization code, authorization URL `https://fleetkeep.co.uk/auth/oauth2/authorize`, token URL `https://fleetkeep.co.uk/auth/oauth2/token`, scopes: `maintenance:write`)

Two-step destructive action. First request returns confirmation_required; retry with X-Fleetkeep-Confirmation. Completed history and defects are never deleted.

## Headers

- `X-Fleetkeep-Confirmation` string

## Response `204`

Open task deleted and cancellation audited.

## Other responses

- `401`: Missing or invalid Bearer access token.
- `403`: Token does not include the required scope.
- `404`: The requested resource does not exist on the authorised user's account, is the wrong event type, or is immutable history for this operation.
- `409`: Confirmation is required, invalid, expired or invalidated by an event update.
- `429`: Per-token rate limit exceeded (60 requests per minute).

---

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