Skip to content

Soft-delete a vault

DELETE
/vaults/{id}
curl --request DELETE \
--url https://api.engram.page/vaults/example \
--header 'Authorization: Bearer <token>'

Soft-deletes the vault, keeping it restorable for 30 days before it is permanently purged. Returns 404 when no such vault exists.

id
required
string

Vault UUID

Soft-deleted (restorable for 30 days)

Media typeapplication/json
VaultDeleted
object
deleted
required
boolean
id
required
string format: uuid

Example

{
"deleted": true
}

Vault only readable by the credential: this needs write access to the vault

Media typeapplication/json
MessageError
object
error
required
string

Example

{
"error": "not found"
}

No such vault, or one the credential cannot reach (the two look the same)

Media typeapplication/json
MessageError
object
error
required
string

Example

{
"error": "not found"
}