> ## Documentation Index
> Fetch the complete documentation index at: https://docs.automate.ax/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Automate.ax automations are TypeScript programs.
> Use Bun for installation and command examples.
> Use Automate.ax for the product name and automate.ax for the package, CLI, and domain.
> Treat documented public APIs as current; do not invent transitional or deprecated names.

# Disconnect shared environment variable

> Disconnects one shared environment variable from one project.

`vercel.disconnectSharedEnvironmentVariable` disconnects one shared environment variable from one project.

```ts automations/disconnect-shared-environment-variable.automation.ts theme={null}
import { automation } from "automate.ax"
import { vercel } from "automate.ax/vercel"

export default automation("Disconnect shared environment variable", () => {
  vercel.disconnectSharedEnvironmentVariable({
    environmentVariableId: "env_shared_1",
    projectId: "prj_1",
    teamId: "team_1",
  })
})
```

## Input

* `environmentVariableId`: included in the runnable example and checked by the callable's TypeScript contract.
* `projectId`: included in the runnable example and checked by the callable's TypeScript contract.
* `teamId`: included in the runnable example and checked by the callable's TypeScript contract.

Optional filters, pagination controls, request bodies, and provider enums remain visible in editor autocomplete. Unknown keys are rejected by TypeScript instead of being silently discarded.

## Output

Returns Vercel's typed deletion result after the provider accepts the operation. Public request and response fields use camelCase.

## Provider behavior

OAuth installations default `teamId` to the installed team; access-token connections must identify the intended scope when Vercel requires it. Automate.ax does not treat this write as replay-safe. Vercel validates identifiers, permissions, and state transitions and returns its provider error when the request is not allowed.
