Delete every version (`delete`).
DELETE
/v1/secrets/{path}
const url = 'https://ferritor.example.internal:7070/v1/secrets/example';const options = {method: 'DELETE'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://ferritor.example.internal:7070/v1/secrets/exampleDeleted versions are restorable until purged.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”path
required
string
A canonical secret path, slashes included (billing/db); its first segment is its namespace.
Responses
Section titled “Responses”Deleted.
default
Section titled “default”An error: see error.code.
Media typeapplication/json
Every error’s body.
object
error
required
object
code
required
Match on this, never on the message.
string
message
required
For people; may change.
string
Example
{ "error": { "code": "invalid_argument" }}