Disconnect a connector from a project
DEL
https://api.vercel.com/v1/connect/connectors/{connector}/projects/{projectId}Disconnect a connector from a project.
https://api.vercel.com/v1/connect/connectors/{connector}/projects/{projectId}
const response = await fetch('https://api.vercel.com/v1/connect/connectors/connector/projects/projectId?teamId=string&slug=string', { method: 'DELETE', headers: { 'Authorization': 'Bearer YOUR_ACCESS_TOKEN', 'Content-Type': 'application/json', },});
const data = await response.json();console.log(data);Response
{}Errors
{ "error": { "code": "string", "message": "string" }}AuthorizationbearerToken
Default authentication mechanism
The team ID that scopes the request. Do not send it with slug. If both are omitted, Vercel uses the team associated with the token or the authenticated user's default team. The request returns 401 if no team can be selected.
204The connector was disconnected from the project.