Data Lifecycle: Retention and Crypto Shredding
Veilio supports lifecycle control for tokenized data through retention metadata and irreversible crypto shredding.
Retention at tokenization time
Field
Type
Description
curl -s -X POST "$VEILIO_BASE_URL/tokenize" \
-H "Authorization: Bearer $VEILIO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"data": "john@example.com",
"type": "email",
"retention": { "ttlDays": 90 }
}'{
"token": "tok_abc123...",
"createdAt": "2026-07-26T08:00:00.000Z",
"retentionUntil": "2026-10-24T08:00:00.000Z"
}Auto-shredding (required for TTL / retentionUntil)
Environment
Who runs the cron?
On-demand shredding
Field
Type
Required
Description
HTTP
Code
Cause
Detokenization behavior after shredding
Operational guidance
Related links
Last updated
Was this helpful?
