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-deletionCancel 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
| Status | Code | Cause |
|---|---|---|
| 400 | token_required | No token in body or query string |
| 404 | not_found | Token doesn't match any pending deletion |
| 410 | deletion_already_completed | The 24-hour grace period elapsed; data is gone |
| 410 | already_cancelled | This deletion was already cancelled |
After cancellation
- The account row's
deletion_requested_atfield is cleared. - The deletion request row's
cancelled_atfield is set (preserved for audit). - All API keys, cues, executions, and other data remain unchanged.
- A confirmation email is sent acknowledging the cancellation.
POST
Try it/v1/auth/me/cancel-deletionRequest Body
Enter your API key above to send requests