Consent Docs

Close a project

Export a project's data, then schedule its deletion at the end of your contract, with a date you can cancel until.

How-to2 min readFor project administrators and deployment operators

Close a project when your contract ends and its data must go. You export first, then schedule the deletion. Only an owner can close a project.

Before you start#

The property export does not hold rights requests, the breach register or project settings. Copy what you must keep from those pages first.

Schedule the deletion#

  1. Open Settings.
  2. In the Close this project panel, choose Close this project.
  3. Tick I have exported what I need, then choose Next.
  4. Check the rows listed under Step 2 of 2: check what is deleted.
  5. Type the project name to confirm.
  6. Choose Schedule the deletion, then confirm.

The panel then shows Deletion scheduled and the date. The consent API keeps working until that date.

The Close this project panel with the deletion date and Cancel the closure
The Close this project panel with the deletion date and Cancel the closure

Time limits#

Step When
Export Before you schedule. Nothing can be recovered after the deletion
Deletion 30 days after you schedule, unless the operator set PROJECT_DELETION_DAYS
Cancel Any time before the deletion starts
Deletion job Daily at 02:30. A large project may take more than one run
Webhook endpoints Removed once project.deleted is delivered, or 7 days after the deletion
Backups Gone once the last backup taken before the deletion expires. scripts/backup.sh keeps backups for BACKUP_KEEP_DAYS days; unset, it keeps them all

The operator's period is shown in the panel. A closure keeps the period it was scheduled with.

Two webhook events tell your systems. project.closing is sent when you schedule or cancel. project.deleted is sent when the data is gone. See Law and project events.

What is deleted and what is kept#

The job deletes every row the project holds, table by table. That covers consent records and their events, forms, purposes, policies, region rules, keys, rights requests, campaigns and settings. It first turns the project's keys off.

Three things are kept:

  • The audit log. It cannot be changed or deleted. It records the closure and the deletion.
  • The closure itself. It records when it was asked for and how many rows went.
  • Legal holds. While a hold is in force, the deletion waits. It runs on the first day after the last hold is released.

Cancel the closure#

  1. Open Settings.
  2. In the Close this project panel, choose Cancel the closure.

Nothing is deleted. A closure that waits on a legal hold can still be cancelled.

↑↓ to move, Enter to open