All requests below will use this key. Your API key is sent directly to api.cueapi.ai and never stored by the docs site.

DELETE/v1/auth/me

Delete Account

Request account deletion with a 24-hour grace period. Sends a confirmation email with a cancellation link.

Schedules permanent deletion of the authenticated account and all associated data — cues, executions, API keys, webhook secrets, alerts, billing records — after a 24-hour grace period. A confirmation email is sent with a cancellation link that hits POST /v1/auth/me/cancel-deletion.

This is the GDPR Right to Erasure endpoint (Article 17).

Warning

Irreversible after 24 hours. Once the grace period expires, the deletion job runs and the data cannot be recovered. There is no archival copy.

Requires the X-Confirm-Destructive: true header. Without it, returns 400 confirmation_required.

Request

bash
curl -X DELETE https://api.cueapi.ai/v1/auth/me \
  -H "Authorization: Bearer cue_sk_YOUR_KEY" \
  -H "X-Confirm-Destructive: true"

Response

json
{
  "message": "Account deletion scheduled. Your account and all associated data will be permanently deleted in 24 hours. Check your email for a cancellation link.",
  "grace_period_hours": 24,
  "can_cancel_until": "2026-04-20T23:00:00+00:00"
}

Errors

StatusCodeCause
400confirmation_requiredMissing X-Confirm-Destructive: true header
409deletion_already_pendingA deletion request is already pending; cancel it first or wait for it to complete

What gets deleted

  • User profile row (users table)
  • All API keys (api_keys) and audit log entries
  • Webhook signing secret (cleared from user row)
  • All cues you own and their execution history
  • Outbox entries, alerts, usage counters
  • Billing customer record (Stripe customer is also deleted)
  • Memory blocks subscribed to your account

What survives

Aggregated, non-personal usage telemetry retained for capacity planning. No row in this set is linkable back to your identity after deletion.

DELETE/v1/auth/me
Try it
Enter your API key above to send requests
How do I know if my agent ran successfully?
Ctrl+K