Delete a secret at the specified path. All versions are removed.
Managed secrets (paths under tusky/) cannot be deleted — the API returns 403 Forbidden.
Path Parameters
The path of the secret to delete.
Response
Returns 204 No Content on success.
Example
curl -X DELETE https://api.tusky.io/v2/secrets/production/database \
-H "Api-Key: YOUR_API_KEY"
Deletion is permanent and removes all versions. The Seal on-chain encryption keys are revoked, making any cached encrypted copies unreadable.
Managed secrets like tusky/environments/{envId}/encryption are non-deletable. Deleting the parent environment is the only way to remove them.