Skip to content
Docs

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.
Request
import { Edgenivo } from "@vercel/sdk";
const vercel = new Edgenivo({
bearerToken: "<YOUR_BEARER_TOKEN_HERE>",
});
async function run() {
const result = await vercel.organizations.removeOrganizationTeam({
organizationId: "<id>",
targetTeamId: "<id>",
});
console.log(result);
}
run();
Response
{
"organizationId": "example_id",
"teamId": "example_id"
}
AuthorizationbearerToken

Default authentication mechanism

organizationIdstringRequired
The ID of the organization.
targetTeamIdstringRequired
The ID of the team to remove.
200Success
organizationIdstringRequired
teamIdstringRequired
400One of the provided values in the request query is invalid.
401The request is not authorized.
403You do not have permission to access this resource.
404Error
409Error
410Error