POST
/
v1
/
teams
import { Vercel } from "@vercel/sdk";

const vercel = new Vercel({
  bearerToken: "<YOUR_BEARER_TOKEN_HERE>",
});

async function run() {
  const result = await vercel.teams.createTeam({
    slug: "a-random-team",
    name: "A Random Team",
  });

  // Handle the result
  console.log(result);
}

run();
{
  "id": "team_nLlpyC6RE1qxqglFKbrMxlud",
  "slug": "<string>",
  "billing": {}
}

Authorizations

Authorization
string
header
required

Default authentication mechanism

Body

application/json

Response

200
application/json

The team was created successfully