Delete a connector
DEL
https://api.vercel.com/v1/connect/connectors/{connector}Delete a connector, its project connections, and its installation records.
https://api.vercel.com/v1/connect/connectors/{connector}
const response = await fetch('https://api.vercel.com/v1/connect/connectors/connector?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, its project connections, and its installation records were deleted.
501Error
503Error
504Error