List Organization Teams
GET
/__remote/api.vercel.com/v1/organizations/{organizationId}/teamsList up to 100 teams in an organization, each enriched with the team's slug, name, and avatar. Set
includeMemberCount to include counts that include pending memberships but exclude email invitations without a membership record. Teams whose underlying record no longer exists are omitted, so a page may contain fewer teams than the page size (or be empty) while still returning a cursor; paginate until cursor is absent. 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.listOrganizationTeams({ organizationId: "<id>", });
console.log(result);}
run();Response
{ "cursor": "string", "teams": [ { "avatar": "string", "billingPlan": "enterprise", "createdAt": "string", "memberCount": "123", "name": "Example Name", "organizationId": "example_id", "slug": "string", "ssoMode": "organization", "teamId": "example_id", "updatedAt": "string" } ]}AuthorizationbearerToken
Default authentication mechanism