Skip to content
Select themeSelect language

`DELETE /api/resources/{id}` — delete a resource. The vault secret is removed on a best-effort basis; a vault flake leaves dead secret material but the row is gone, so the resource cannot be re-read by name.

DELETE
/api/resources/{id}
curl --request DELETE \
--url https://example.com/api/resources/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0
id
required
string format: uuid
Media typeapplication/json

{"deleted": true} — a delete acknowledgement. deleted is false only when the row was already gone (a few idempotent deletes report the affected-rows count as a boolean).

object
deleted
required

Whether a row was deleted.

boolean
Examplegenerated
{
"deleted": true
}