Documentation Index
Fetch the complete documentation index at: https://docs.magic.link/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The Deletion Request API enables developers to delete users’ information in compliance with GDPR. This API is designed for applications that require bulk deletion operations and supports authentication using the application’s secret key. Users can be targeted by email address, public wallet address, or both in the same request. Targeting by public address lets you delete users whose primary login is not an email — for example, SMS, passkey, or OAuth users.Usage
Request
Send aPOST request with a payload containing emails, public_addresses, or both. At least one of the two fields must be provided and non-empty.
Fields
emails(optional): Email addresses associated with end-user accounts to delete.public_addresses(optional): Public wallet addresses associated with end-user accounts to delete. Each address is resolved against your app’s active wallets.
Response
Success
The API returns a response with lists of processed and unprocessed identifiers. Each entry mirrors the value supplied in the request (either an email or a public address).processed: Identifiers that matched an active user and were queued for deletion.unprocessed: Identifiers that did not match an active user for your app and were not deleted.
Failure
In the event of an error, the API will return an error code and message.400 Bad Request: Your request is invalid. This typically occurs when neitheremailsnorpublic_addressesis provided, or when the request body is malformed.401 Unauthorized: Your authorization token is missing or invalid.429 Too Many Requests: You have hit the rate limit for deletion requests. Please wait before sending more requests.