---
title: "Delete Magic Link"
method: DELETE
path: "/magic-links/{magic_link_id}"
tags: ["Auth"]
---

# Delete Magic Link

`DELETE /magic-links/{magic_link_id}`

Delete a Magic Link by its ID.

## Path parameters

- `magic_link_id` string, required

## Headers

- `x-trackstar-api-key` string, required

## Response `200`

Successful response

- DeleteMagicLinkResponse
  - `id` string, required — The id of the deleted object.
  - `object` string, required — The type of the object that was deleted.
  - `deleted` boolean, required — Whether or not the object was deleted.

## Other responses

- `404` — Not found
- `422` — Validation error

---

[API](https://skmtc.net/trackstarhq/apis/trackstar-api.md) · [All operations](https://skmtc.net/trackstarhq/apis/trackstar-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/trackstarhq/trackstar-api/versions/4bc5c6e1a8bf/schema)
