Skip to Content
AdministrationData Deletion & Right to Erasure

Data Deletion

Deleting an application in Veriproof initiates a two-phase lifecycle: a grace period during which the deletion can be cancelled, followed by an irreversible purge that destroys all associated data.

Only the CustomerAdmin role can initiate application deletion. The operation cannot be undone once the purge completes.

What Gets Deleted

When an application is purged, the following are destroyed:

ArtifactDeleted?Notes
Session payload blobs✅ YesAll attachments and raw session data
Session database rows✅ YesCascade-deleted including metadata and annotations
Cryptographic key material✅ YesData subject encryption keys (salts)
Application configuration✅ YesIngest rules, redaction policies, etc.
Governance scores and policies✅ YesApplication-level scoring history
Blockchain commitment anchors❌ NoAnchors on Solana are permanent and cannot be removed

Blockchain hashes are immutable by design. After purge, commitment anchors remain on-chain and can still be referenced by anyone with the hash. However, because the session payload and keys are gone, the anchored hash cannot be re-linked to any PII. This is by design and is consistent with GDPR compliance — see the GDPR Erasure guide.

The 7-Day Grace Period

When you delete an application, it enters a pending deletion state for 7 days (1 hour in sandbox/pre-production environments). During this window:

  • The application is hidden from dashboards and lists.
  • All ingest is rejected with 410 Gone.
  • The deletion can be cancelled by a CustomerAdmin — the application is fully restored.
  • No data is actually deleted yet.

After the grace period expires, the purge is executed automatically.

Starting an Application Deletion

Open the application

Navigate to the application in the Customer Portal and open Application → Settings.

Initiate deletion

Scroll to the Danger Zone section at the bottom of the settings page and click Delete Application.

Confirm

Type the application name in the confirmation dialog to prevent accidental deletion, then click Confirm deletion.

The application immediately moves to Pending deletion state with a countdown to the purge date.

Cancelling a Deletion (Grace Period Only)

If you change your mind during the 7-day grace period:

  1. In the Customer Portal, open Applications.
  2. Locate the application — it appears with a Pending deletion badge.
  3. Click Cancel deletion and confirm.

The application is restored to Active status immediately. All data remains intact.

Cancellation is only possible before the purge timer fires. Once the purge begins, it cannot be interrupted.

How the Purge Works

The purge is executed by a background queue worker. When the grace period expires, a message is placed on the purge queue. The worker:

  1. Verifies the deletion is still confirmed (guards against race conditions).
  2. Deletes all blob objects under the application’s storage prefix (batched).
  3. Destroys all data subject encryption salts for the application (making stored payloads cryptographically unreadable).
  4. Deletes session, annotation, and metadata database rows (cascade).
  5. Deletes the application configuration record.
  6. Emits an application.purge_completed audit event.

A safety-sweep timer runs daily at 02:00 UTC to catch any applications that slipped through the queue (e.g. due to a transient failure). Failed purge messages are routed to a poison queue for operator review.

API: Initiate Purge

DELETE /v1/applications/{appId}/purge

Called by the portal on confirmation. Marks the application for deletion and starts the grace period clock.

Checking Purge Status

The application’s lifecycle state is available via:

GET /v1/applications/{appId}

Possible lifecycleState values:

ValueDescription
activeNormal operation
pending_deletionGrace period in progress; can still be cancelled
purgingPurge worker is currently running
purgedAll data deleted; application record is removed

Tenant Deletion

Deleting your entire Veriproof tenant (all applications and all data) is a staff-assisted operation. Open a support portal request or work through your account team. The process follows the same grace period and purge mechanics, applied tenant-wide.

Tenant deletion requests require identity verification and a signed deletion authorization form. The operation cannot be initiated unilaterally through the portal.

GDPR Right to Erasure vs Application Deletion

ScenarioUse caseGuide
Remove all data for one user (data subject)GDPR Article 17 — right to erasureGDPR Erasure
Remove all data for one applicationDecommissioning an applicationThis page
Remove all data for the whole tenantOffboarding from VeriproofContact support

These operations are independent. A data subject erasure does not delete the application; an application deletion does not selectively erase individual data subjects.

Last updated on