cURL
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 }
Delete a Magic Link by its ID.
Your organization-level Trackstar API key.
"<x-trackstar-api-key>"
Successful response
The id of the deleted object.
"example-id-123"
The type of the object that was deleted.
"magic_link"
Whether or not the object was deleted.
true