Skip to main content
vercel.deleteDeployment permanently deletes one deployment by ID.
automations/delete-deployment.automation.ts

Input

  • deploymentId: 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.