basemodo env unset
Remove Secrets by name (all or none). The App loses them the next time it starts: basemodo restart.
basemodo env unset [OPTIONS] <NAME>...Arguments
NAME...(required): The names of the Secrets to remove.--app <APP>: The App whose Secrets to change. Default: the one named after the current folder.
Like every command, it also takes the global options --json and --api-url.
Examples
Remove a Secret:
basemodo env unset MAILER_TOKENOutput
With --json, it prints {"secrets": [{"name", "updated_by", "updated_at"}], "changes": [{"name", "action", "by", "at"}]}, never a value.
From an agent
The local MCP serves it as the tool env_unset. It changes things, so an agent's client may ask you before it runs. Its arguments are the command's, named as JSON keys: names (list of text), app (text). It answers what the command prints with --json.