Skip to content

Delete secret API Reference

DELETE
/tenants/{tenant}/secrets/{name}

Delete a managed secret. This removes the secret definition and stops syncing to all target clusters. The secret values in the vault are not deleted by this API call, and existing synced Kubernetes Secrets are not removed automatically.

tenant
required
string

Tenant name

name
required
string

Secret name

Secret deleted

Invalid name

object
code
string
error
string
field
string
message
string
severity
string

Missing or invalid authentication

object
code
string
error
string
field
string
message
string
severity
string

Admin access required

object
code
string
error
string
field
string
message
string
severity
string

Secret not found

object
code
string
error
string
field
string
message
string
severity
string

Rate limit exceeded

object
code
string
error
string
field
string
message
string
severity
string