Skip to main content
DELETE
/
magic-links
/
{magic_link_id}
Delete Magic Link
curl --request DELETE \
  --url https://production.trackstarhq.com/magic-links/{magic_link_id} \
  --header 'x-trackstar-api-key: <x-trackstar-api-key>'
{
  "id": "example-id-123",
  "object": "magic_link",
  "deleted": true
}

Headers

x-trackstar-api-key
string
required

Your organization-level Trackstar API key.

Example:

"<x-trackstar-api-key>"

Path Parameters

Response

Successful response

id
string
required

The id of the deleted object.

Example:

"example-id-123"

object
string
required

The type of the object that was deleted.

Example:

"magic_link"

deleted
boolean
required

Whether or not the object was deleted.

Example:

true