Skip to content
These docs describe Tradr v0.17.0. Running an older release? Check the release notes for what changed.

Cancel the signed-in user's scheduled deletion.

DELETE
/api/users/me/deletion
curl --request DELETE \
--url https://api.tradr.cloud/api/users/me/deletion

Authed. Cancels a scheduled deletion and re-enables any subscription renewal it had turned off. A cancelling or firing schedule cannot be cancelled.

The schedule was cancelled; the status is back to nulls.

Media typeapplication/json
object
scheduledFor
string
nullable
state
string
nullable
Examplegenerated
{
"scheduledFor": "example",
"state": "example"
}

No valid session.

BILLING_NOT_AVAILABLE — billing is unconfigured, so a renewal cannot be restored.

NO_DELETION_SCHEDULED — nothing is scheduled to cancel.

DELETION_IN_PROGRESS — the deletion is already cancelling or firing.

STRIPE_REENABLE_FAILED — the subscription renewal could not be restored.