Unset environment variables
unset_env_varsRemove environment variables set on an app or agent, and restart it once if it is running. This removes the service's own variables only; an organization variable it inherits is not touched. A variable a connector or channel references, or one a resource set, is refused: the answer names the holder and what frees it. A channel the agent owns is destroyed with destroy_channel; a resource's variables leave only when the resource is detached. A name that is not set is reported and does not fail the call. Requires connecting a Valet account.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Required. The app's or agent's name. | |
| names | Yes | Required. The variable names to remove. | |
| org_name | No | The Valet organization it belongs to. Omit to use the organization the account joined first. |