remove_secret
Last updated: October 25, 2026
Remove a secret. Needs your say-so, and what it changes is seen outside the pod at once.
Removes one of an app's secrets from its live address or its previews. A live one is gone from the live app at once.
Parameters
app(string, required): The app: its id, or its address such as shop-acme.name(string, required): The secret's name, capital letters, digits, and underscores, such as "STRIPE_KEY".stage(one of live, preview, required): "live" for the app at its address, "preview" for its deploys' previews.
Where it fits
Call read_pod first, every time. It shows the pod, who is working on what, and what is tagged for you. Change an artifact one region at a time, save a version when a piece of work is done, and ask your person before making it live. Every tool.