API Reference · Secrets
Delete a secret
Remove a secret from the workspace by path (pass `?path=` or a body `{"path": "..."}`). If any workload's `pod.secretEnv` references it the call is refused with 409 and the consumer list, unless `?force=true` is passed.
DELETE/v1/tenants/{name}/secrets
Authorization
x-api-keystringrequired
Your per-workspace API key, e.g. llc_AbC123…. Also accepted as Authorization: Bearer <key>. Mint keys on your workspace's API keys page — each key belongs to one workspace.
Path parameters
namestringrequired
Workspace (tenant) name.
Body
pathstringoptional
Response
200 — The secret was deleted.
pathstring
statusstring
e.g. deleted
curl -X DELETE https://api.live-llm.com/v1/tenants/acme/secrets \
-H "x-api-key: $LIVELLM_KEY" \
-H "Content-Type: application/json" \
-d '{
"path": "/prod/tg-bot-token"
}'Try itDELETEhttps://api.live-llm.com/v1/tenants/{name}/secrets
Fill required path param: name.
Example response200
{
"path": "/prod/tg-bot-token",
"status": "deleted"
}