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

POST/v1/auth/me/cancel-deletion

Cancel Account Deletion

Cancel a pending account deletion using the confirmation token from the deletion email.

Cancels a pending account deletion using the confirmation token sent to the user's email by DELETE /v1/auth/me.

Note

No bearer auth required. This endpoint accepts only the cancellation token because users may have rotated or revoked their API key after requesting deletion.

The token can be sent in the request body or as a ?token= query parameter (the email link uses query parameter form).

Request

bash
curl -X POST https://api.cueapi.ai/v1/auth/me/cancel-deletion \
  -H "Content-Type: application/json" \
  -d '{"token": "abc123…verylong…secure_url_safe_token"}'
bash
curl -X POST "https://api.cueapi.ai/v1/auth/me/cancel-deletion?token=abc123…verylong…secure_url_safe_token"

Response

json
{
  "message": "Account deletion cancelled. Your account is active again.",
  "cancelled_at": "2026-04-19T14:32:11Z"
}

Errors

StatusCodeCause
400token_requiredNo token in body or query string
404not_foundToken doesn't match any pending deletion
410deletion_already_completedThe 24-hour grace period elapsed; data is gone
410already_cancelledThis deletion was already cancelled

After cancellation

  • The account row's deletion_requested_at field is cleared.
  • The deletion request row's cancelled_at field is set (preserved for audit).
  • All API keys, cues, executions, and other data remain unchanged.
  • A confirmation email is sent acknowledging the cancellation.
POST/v1/auth/me/cancel-deletion
Try it
Request Body
Enter your API key above to send requests
How do I know if my agent ran successfully?
Ctrl+K