Delete a secret
Removes a secret from a tenant. This deploys a new version with the same code, so that running lunas stop seeing it.
DELETE
/_luna/secrets/{tenant}/{name}Authorization
AuthorizationBearer token · headerrequiredAn account key (la_…), an API key (lt_…) or a session token (ls_…). The scopes listed are the permissions the operation needs.
Scopes:
secrets:writePath parameters
tenantstringrequiredThe tenant, by its full name.
namestringrequiredThe secret's name.
Responses
200
The secret is gone.
versioninteger<int64> | nullThe version the tenant now runs, which has the change. Null when nothing is deployed to the tenant yet.
min 0
default
The request failed. The status says how and error.message says why.
errorErrorDetailrequiredShow propertiesHide properties
codestring | nullA code for programs to branch on, when the error has one.
messagestringrequiredWhat went wrong, in a sentence a person can read.