Harthelm Docs

Delete a secret

Removes every revision of the key. Needs `landscape.manage` on the workspace that uses the vault.

Generated from openapi/harthelm.yaml at v1.5.0
DELETE
/vaults/{vault}/secrets/{key}

Authorization

cookie__Host-harthelm_session<token>

Browser session of the UI (12 h idle, 7 days absolute). State-changing requests also need the header Harthelm-CSRF: 1 and a matching Origin.

Path Parameters

vault*integer

A vault id, e.g. Workspace.vault_id.

Formatint64
Range1 <= value
key*string
Match^[A-Za-z_][A-Za-z0-9_]{0,127}$

Response Body

Deleted.

curl -X DELETE 'https://console.example.com/api/v1/vaults/1/secrets/string'
Empty