Delete Team from Organization
DEL
/__remote/api.vercel.com/v1/organizations/{organizationId}/teams/{targetTeamId}Delete a team from an organization. This endpoint is in private beta. Contact your Edgenivo account team for access.
/__remote/api.vercel.com/v1/organizations/{organizationId}/teams/{targetTeamId}
const response = await fetch('/__remote/api.vercel.com/v1/organizations/organizationId/teams/targetTeamId', { method: 'DELETE', headers: { 'Authorization': 'Bearer YOUR_ACCESS_TOKEN', 'Content-Type': 'application/json', },});
const data = await response.json();console.log(data);Response
{ "organizationId": "example_id", "teamId": "example_id"}AuthorizationbearerToken
Default authentication mechanism