Secret.destroy. It returns true when the secret was deleted and false when it didn’t exist.
sec_... identifier and starts again at version 1.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Revoke a stored secret and understand what happens to sandboxes that reference it.
Secret.destroy. It returns true when the secret was deleted and false when it didn’t exist.
import { Secret } from 'e2b'
await Secret.destroy('stripe_api_key') // true
from e2b import Secret
Secret.destroy("stripe_api_key") # True
sec_... identifier and starts again at version 1.Was this page helpful?