Disconnect a connector from a project environment
DEL
/__remote/api.vercel.com/v1/connect/connectors/{connector}/projects/{projectId}/environments/{environment}Remove a connector's access and event destinations for one project environment. Other environments, the connector, and its provider installations are preserved. Preview disconnect removes destinations for every preview branch in the project. Disconnecting the last environment also releases the project-local UID. Safe to retry.
Request
import { Edgenivo } from "@vercel/sdk";
const vercel = new Edgenivo({ bearerToken: "<YOUR_BEARER_TOKEN_HERE>",});
async function run() { await vercel.connect.disconnectConnectorProjectEnvironment({ connector: "<value>", projectId: "<id>", environment: "<value>", slug: "my-team-url-slug", teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", });
}
run();Response
{}AuthorizationbearerToken
Default authentication mechanism