ozvault home

OBJECT OPERATIONS

Delete, restore and retain files

Understand soft deletion, the trash retention period and when encrypted bytes stop counting toward quota.

Move an object to trash

#

Deleting immediately removes the object from normal listings and revokes its download links. The encrypted content remains during retention and continues to count toward quota.

TypeScript
await vault.deleteObject(object.id);

Restore during retention

#

List deleted=true to inspect retained objects. POST /v1/objects/:id/restore restores an object while it remains within the configured retention period, initially 30 days.

TypeScript
await vault.request(`/v1/objects/${object.id}/restore`, { method: 'POST' });

Permanent erasure

#

Maintenance removes expired ciphertext and adjusts usage transactionally. Account deletion blocks access first and queues full live-data erasure. Independent backups follow their own disclosed retention period.

Clear documentation is part of the product.