Secrets
Generated from Secronna's own code: every route in this area, what it takes and how to call it.
| Method | Path | What it does |
|---|---|---|
DELETE |
/api/v1/secrets/{secretId} |
Delete a secret |
POST |
/api/v1/secrets/{secretId}/reveal |
Reveal is a POST (not GET) — it's a state-ish, always-audited action; keeping it off GET avoids the value ever landing in access logs / URLs. |
Delete a secret
DELETE /api/v1/secrets/{secretId}
Path parameters
| Name | Type | Required | Notes |
|---|---|---|---|
secretId |
string | yes |
Example
curl -X DELETE "https://secronna.com/api/v1/secrets/:secretId" \
-H "Authorization: Bearer st_…"
Reveal is a POST (not GET) — it's a state-ish, always-audited action; keeping it off GET avoids the value ever landing in access logs / URLs.
POST /api/v1/secrets/{secretId}/reveal
Reveal is a POST (not GET) — it's a state-ish, always-audited action; keeping it off GET avoids the value ever landing in access logs / URLs.
Path parameters
| Name | Type | Required | Notes |
|---|---|---|---|
secretId |
string | yes |
Query parameters
| Name | Type | Required | Notes |
|---|---|---|---|
version |
integer | no | above 0 |
Example
curl -X POST "https://secronna.com/api/v1/secrets/:secretId/reveal" \
-H "Authorization: Bearer st_…"