---
title: "Cancel handoff"
method: DELETE
path: "/auth/handoff/{code}"
tags: ["Auth"]
---

# Cancel handoff

`DELETE /auth/handoff/{code}`

Cancel an ongoing handoff session. The handoff code will no longer be valid for authentication.

## Path parameters

- `code` string, required

## Request body

- HandoffCancelRequest
  - `poll_secret` string, required — The poll secret issued when the handoff was initiated

## Response `204`

No Content

## Other responses

- `400` — Bad Request - The request was malformed or contained invalid data
- `429` — Too Many Requests - You are being rate limited
- `500` — Internal Server Error - An unexpected error occurred

## Changes

- **2026-09-03** `fa36b1b48ca5` — 1 breaking, 10 info
  - added required request body
  - removed the `INVALID_PACK_TYPE` enum value from the `code` response property for the response status `400`
  - removed the `INVALID_PACK_TYPE` enum value from the `code` response property for the response status `500`
  - removed the `MAX_PACKS` enum value from the `code` response property for the response status `400`
  - …7 more

[Change history](https://skmtc.dev/fluxer/apis/fluxer-api/changes/auth/handoff/:code/delete.md)

---

[API](https://skmtc.dev/fluxer/apis/fluxer-api.md) · [All operations](https://skmtc.dev/fluxer/apis/fluxer-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/fluxer/fluxer-api/revisions/fa36b1b48ca5/schema)
