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.
/__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

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