Goal
Provide a durable, tenant-scoped sandbox document erasure API so DevAI can manually remove uploaded test documents before the existing 24-hour lifecycle rule.
Acceptance criteria
- authenticated product and tenant scope is enforced with 404 for foreign resources
- deletion is idempotent and cancels active durable OCR work first
- source, page, result and quarantine artifacts are erased without exposing object locators
- CNPG state retains only safe audit/tombstone metadata needed for idempotency and 24-hour lifecycle reporting
- no raw document content, storage URL or credential is returned or logged
- contract, tenant-isolation and retry tests cover the workflow
Related: DevAI sandbox result-details UI.
Goal
Provide a durable, tenant-scoped sandbox document erasure API so DevAI can manually remove uploaded test documents before the existing 24-hour lifecycle rule.
Acceptance criteria
Related: DevAI sandbox result-details UI.