Vercel Projects icon

Vercel Projects

Manage Vercel projects via the Vercel REST API

Delete Project

AI-generated

Summary

Deletes a Vercel project by ID or name via a DELETE request to the Vercel REST API (/v9/projects/{idOrName}). Runs once per input item and returns the API response.

Inputs

  • projectIdOrName (required) — The ID or name of the project to delete. It is URL-encoded and placed in the request path. Can be set per item with an expression.

Output shape

One output item per input item, containing the parsed JSON response from the Vercel API, paired to its input item. The source does not define the response body; Vercel may return an empty body on success.

Authenticates with the vercelApi credential (access token, optional base URL). The credential's team ID is sent as a teamId query parameter. The source also reads an optional 'teamIdOverride' parameter, but it is not declared in the node's properties, so it defaults to empty. If Continue On Fail is enabled, a failed item returns {error: message} instead of stopping the workflow. Otherwise a NodeApiError is thrown. The deletion is irreversible.

Examples

Example 1: Remove a temporary preview project after a test run finishes.

Operation: Delete Project; Project ID or Name: {{ $json.projectId }}

Example 2: Delete a project by its known name.

Operation: Delete Project; Project ID or Name: my-old-site

Links

Discussion