Vercel Deployments icon

Vercel Deployments

Manage Vercel deployments via the Vercel REST API

Delete Deployment

AI-generated

Summary

Deletes a Vercel deployment by ID or URL by sending a DELETE request to the Vercel REST API (v13 deployments endpoint) once for each input item.

Inputs

  • Deployment ID or URL (required) — The deployment ID or URL to delete. It is URL-encoded and appended to /v13/deployments/. It is evaluated per input item, so it can be an expression.

Output shape

One output item per input item. Its json is the parsed Vercel API response to the DELETE call, which is typically a small confirmation object.

The exact response fields aren't defined in the node, so they depend on the Vercel API. If Continue On Fail is enabled, a failed item returns { error: message } instead of stopping the workflow. Each output item is paired to its input item. The request uses the vercelApi credential (access token, base URL). If the credential has a team ID, it is sent as the teamId query parameter. The execute code also reads an optional teamIdOverride parameter, but this operation's properties don't declare it.

Examples

Example 1: Remove a specific deployment found by a previous step

Operation: Delete Deployment; Deployment ID or URL: ={{ $json.uid }}

Example 2: Delete a deployment by its URL

Operation: Delete Deployment; Deployment ID or URL: my-app-abc123.vercel.app

Links

Discussion