1. Registry
  2. Packages
  3. Vercel Provider
  4. API Docs
  5. OrganizationTeam
Viewing docs for Vercel v5.27.0
published on Sunday, Nov 15, 2026 by Pulumiverse
vercel logo vercel logo
Viewing docs for Vercel v5.27.0
published on Sunday, Nov 15, 2026 by Pulumiverse

    Creates and manages a team within an existing Vercel organization. The organization must already have Enterprise Flex billing configured. Use the returned id with vercel.TeamConfig and other team-scoped resources. When using vercel_team_config, reference this resource’s name and slug so both resources stay consistent. Requires a user access token with organization administrator permissions.

    Destroying this resource deletes the team, including its projects; it does not detach it. The API currently refuses self-service deletion of Enterprise child teams. Deletion failures retain the resource in state. Consider lifecycle { prevent_destroy = true } for teams that should not be deleted. Changing organization_id or billing_plan requires replacement, which is also subject to these deletion restrictions.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as vercel from "@pulumiverse/vercel";
    
    const product = new vercel.OrganizationTeam("product", {
        organizationId: "org_xxxxxxxxxxxxxxxxxxxxxxxx",
        name: "Product",
        slug: "acme-product",
        billingPlan: "enterprise",
    });
    const productTeamConfig = new vercel.TeamConfig("product", {
        id: product.id,
        name: product.name,
        slug: product.slug,
        defaultBuildMachineType: "standard",
    });
    const web = new vercel.Project("web", {
        teamId: product.id,
        name: "web",
    });
    
    import pulumi
    import pulumiverse_vercel as vercel
    
    product = vercel.OrganizationTeam("product",
        organization_id="org_xxxxxxxxxxxxxxxxxxxxxxxx",
        name="Product",
        slug="acme-product",
        billing_plan="enterprise")
    product_team_config = vercel.TeamConfig("product",
        id=product.id,
        name=product.name,
        slug=product.slug,
        default_build_machine_type="standard")
    web = vercel.Project("web",
        team_id=product.id,
        name="web")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-vercel/sdk/v5/go/vercel"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		product, err := vercel.NewOrganizationTeam(ctx, "product", &vercel.OrganizationTeamArgs{
    			OrganizationId: pulumi.String("org_xxxxxxxxxxxxxxxxxxxxxxxx"),
    			Name:           pulumi.String("Product"),
    			Slug:           pulumi.String("acme-product"),
    			BillingPlan:    pulumi.String("enterprise"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = vercel.NewTeamConfig(ctx, "product", &vercel.TeamConfigArgs{
    			Id:                      product.ID(),
    			Name:                    product.Name,
    			Slug:                    product.Slug,
    			DefaultBuildMachineType: pulumi.String("standard"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = vercel.NewProject(ctx, "web", &vercel.ProjectArgs{
    			TeamId: product.ID(),
    			Name:   pulumi.String("web"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Vercel = Pulumiverse.Vercel;
    
    return await Deployment.RunAsync(() => 
    {
        var product = new Vercel.OrganizationTeam("product", new()
        {
            OrganizationId = "org_xxxxxxxxxxxxxxxxxxxxxxxx",
            Name = "Product",
            Slug = "acme-product",
            BillingPlan = "enterprise",
        });
    
        var productTeamConfig = new Vercel.TeamConfig("product", new()
        {
            Id = product.Id,
            Name = product.Name,
            Slug = product.Slug,
            DefaultBuildMachineType = "standard",
        });
    
        var web = new Vercel.Project("web", new()
        {
            TeamId = product.Id,
            Name = "web",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumiverse.vercel.OrganizationTeam;
    import com.pulumiverse.vercel.OrganizationTeamArgs;
    import com.pulumiverse.vercel.TeamConfig;
    import com.pulumiverse.vercel.TeamConfigArgs;
    import com.pulumiverse.vercel.Project;
    import com.pulumiverse.vercel.ProjectArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var product = new OrganizationTeam("product", OrganizationTeamArgs.builder()
                .organizationId("org_xxxxxxxxxxxxxxxxxxxxxxxx")
                .name("Product")
                .slug("acme-product")
                .billingPlan("enterprise")
                .build());
    
            var productTeamConfig = new TeamConfig("productTeamConfig", TeamConfigArgs.builder()
                .id(product.id())
                .name(product.name())
                .slug(product.slug())
                .defaultBuildMachineType("standard")
                .build());
    
            var web = new Project("web", ProjectArgs.builder()
                .teamId(product.id())
                .name("web")
                .build());
    
        }
    }
    
    resources:
      product:
        type: vercel:OrganizationTeam
        properties:
          organizationId: org_xxxxxxxxxxxxxxxxxxxxxxxx
          name: Product
          slug: acme-product
          billingPlan: enterprise
      productTeamConfig:
        type: vercel:TeamConfig
        name: product
        properties:
          id: ${product.id}
          name: ${product.name}
          slug: ${product.slug}
          defaultBuildMachineType: standard
      web:
        type: vercel:Project
        properties:
          teamId: ${product.id}
          name: web
    
    Example coming soon!
    

    Create OrganizationTeam Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new OrganizationTeam(name: string, args: OrganizationTeamArgs, opts?: CustomResourceOptions);
    @overload
    def OrganizationTeam(resource_name: str,
                         args: OrganizationTeamArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def OrganizationTeam(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         billing_plan: Optional[str] = None,
                         organization_id: Optional[str] = None,
                         slug: Optional[str] = None,
                         name: Optional[str] = None)
    func NewOrganizationTeam(ctx *Context, name string, args OrganizationTeamArgs, opts ...ResourceOption) (*OrganizationTeam, error)
    public OrganizationTeam(string name, OrganizationTeamArgs args, CustomResourceOptions? opts = null)
    public OrganizationTeam(String name, OrganizationTeamArgs args)
    public OrganizationTeam(String name, OrganizationTeamArgs args, CustomResourceOptions options)
    
    type: vercel:OrganizationTeam
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "vercel_organization_team" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args OrganizationTeamArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args OrganizationTeamArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args OrganizationTeamArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args OrganizationTeamArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args OrganizationTeamArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var organizationTeamResource = new Vercel.OrganizationTeam("organizationTeamResource", new()
    {
        BillingPlan = "string",
        OrganizationId = "string",
        Slug = "string",
        Name = "string",
    });
    
    example, err := vercel.NewOrganizationTeam(ctx, "organizationTeamResource", &vercel.OrganizationTeamArgs{
    	BillingPlan:    pulumi.String("string"),
    	OrganizationId: pulumi.String("string"),
    	Slug:           pulumi.String("string"),
    	Name:           pulumi.String("string"),
    })
    
    resource "vercel_organization_team" "organizationTeamResource" {
      lifecycle {
        create_before_destroy = true
      }
      billing_plan    = "string"
      organization_id = "string"
      slug            = "string"
      name            = "string"
    }
    
    var organizationTeamResource = new OrganizationTeam("organizationTeamResource", OrganizationTeamArgs.builder()
        .billingPlan("string")
        .organizationId("string")
        .slug("string")
        .name("string")
        .build());
    
    organization_team_resource = vercel.OrganizationTeam("organizationTeamResource",
        billing_plan="string",
        organization_id="string",
        slug="string",
        name="string")
    
    const organizationTeamResource = new vercel.OrganizationTeam("organizationTeamResource", {
        billingPlan: "string",
        organizationId: "string",
        slug: "string",
        name: "string",
    });
    
    type: vercel:OrganizationTeam
    properties:
        billingPlan: string
        name: string
        organizationId: string
        slug: string
    

    OrganizationTeam Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The OrganizationTeam resource accepts the following input properties:

    BillingPlan string
    The child team's billing profile: enterprise for internal teams using the organization's Flex commitment, or platform for tenant teams. This is separate from a standalone team's billing plan.
    OrganizationId string
    The ID of the existing organization that owns the team.
    Slug string
    The team's slug, used in its dashboard URL.
    Name string
    The display name of the team.
    BillingPlan string
    The child team's billing profile: enterprise for internal teams using the organization's Flex commitment, or platform for tenant teams. This is separate from a standalone team's billing plan.
    OrganizationId string
    The ID of the existing organization that owns the team.
    Slug string
    The team's slug, used in its dashboard URL.
    Name string
    The display name of the team.
    billing_plan string
    The child team's billing profile: enterprise for internal teams using the organization's Flex commitment, or platform for tenant teams. This is separate from a standalone team's billing plan.
    organization_id string
    The ID of the existing organization that owns the team.
    slug string
    The team's slug, used in its dashboard URL.
    name string
    The display name of the team.
    billingPlan String
    The child team's billing profile: enterprise for internal teams using the organization's Flex commitment, or platform for tenant teams. This is separate from a standalone team's billing plan.
    organizationId String
    The ID of the existing organization that owns the team.
    slug String
    The team's slug, used in its dashboard URL.
    name String
    The display name of the team.
    billingPlan string
    The child team's billing profile: enterprise for internal teams using the organization's Flex commitment, or platform for tenant teams. This is separate from a standalone team's billing plan.
    organizationId string
    The ID of the existing organization that owns the team.
    slug string
    The team's slug, used in its dashboard URL.
    name string
    The display name of the team.
    billing_plan str
    The child team's billing profile: enterprise for internal teams using the organization's Flex commitment, or platform for tenant teams. This is separate from a standalone team's billing plan.
    organization_id str
    The ID of the existing organization that owns the team.
    slug str
    The team's slug, used in its dashboard URL.
    name str
    The display name of the team.
    billingPlan String
    The child team's billing profile: enterprise for internal teams using the organization's Flex commitment, or platform for tenant teams. This is separate from a standalone team's billing plan.
    organizationId String
    The ID of the existing organization that owns the team.
    slug String
    The team's slug, used in its dashboard URL.
    name String
    The display name of the team.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the OrganizationTeam resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing OrganizationTeam Resource

    Get an existing OrganizationTeam resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: OrganizationTeamState, opts?: CustomResourceOptions): OrganizationTeam
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            billing_plan: Optional[str] = None,
            name: Optional[str] = None,
            organization_id: Optional[str] = None,
            slug: Optional[str] = None) -> OrganizationTeam
    func GetOrganizationTeam(ctx *Context, name string, id IDInput, state *OrganizationTeamState, opts ...ResourceOption) (*OrganizationTeam, error)
    public static OrganizationTeam Get(string name, Input<string> id, OrganizationTeamState? state, CustomResourceOptions? opts = null)
    public static OrganizationTeam get(String name, Output<String> id, OrganizationTeamState state, CustomResourceOptions options)
    resources:  existingOrganizationTeam:    type: vercel:OrganizationTeam    get:      id: ${id}
    import {
      to = vercel_organization_team.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    state OrganizationTeamState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state OrganizationTeamState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    state OrganizationTeamState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    state OrganizationTeamState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    options CustomResourceOptions
    Bag of options to control resource's behavior.
    The following state arguments are supported:
    BillingPlan string
    The child team's billing profile: enterprise for internal teams using the organization's Flex commitment, or platform for tenant teams. This is separate from a standalone team's billing plan.
    Name string
    The display name of the team.
    OrganizationId string
    The ID of the existing organization that owns the team.
    Slug string
    The team's slug, used in its dashboard URL.
    BillingPlan string
    The child team's billing profile: enterprise for internal teams using the organization's Flex commitment, or platform for tenant teams. This is separate from a standalone team's billing plan.
    Name string
    The display name of the team.
    OrganizationId string
    The ID of the existing organization that owns the team.
    Slug string
    The team's slug, used in its dashboard URL.
    billing_plan string
    The child team's billing profile: enterprise for internal teams using the organization's Flex commitment, or platform for tenant teams. This is separate from a standalone team's billing plan.
    name string
    The display name of the team.
    organization_id string
    The ID of the existing organization that owns the team.
    slug string
    The team's slug, used in its dashboard URL.
    billingPlan String
    The child team's billing profile: enterprise for internal teams using the organization's Flex commitment, or platform for tenant teams. This is separate from a standalone team's billing plan.
    name String
    The display name of the team.
    organizationId String
    The ID of the existing organization that owns the team.
    slug String
    The team's slug, used in its dashboard URL.
    billingPlan string
    The child team's billing profile: enterprise for internal teams using the organization's Flex commitment, or platform for tenant teams. This is separate from a standalone team's billing plan.
    name string
    The display name of the team.
    organizationId string
    The ID of the existing organization that owns the team.
    slug string
    The team's slug, used in its dashboard URL.
    billing_plan str
    The child team's billing profile: enterprise for internal teams using the organization's Flex commitment, or platform for tenant teams. This is separate from a standalone team's billing plan.
    name str
    The display name of the team.
    organization_id str
    The ID of the existing organization that owns the team.
    slug str
    The team's slug, used in its dashboard URL.
    billingPlan String
    The child team's billing profile: enterprise for internal teams using the organization's Flex commitment, or platform for tenant teams. This is separate from a standalone team's billing plan.
    name String
    The display name of the team.
    organizationId String
    The ID of the existing organization that owns the team.
    slug String
    The team's slug, used in its dashboard URL.

    Import

    The pulumi import command can be used, for example:

    Import an existing child team using its organization ID and team ID.

    $ pulumi import vercel:index/organizationTeam:OrganizationTeam product org_xxxxxxxxxxxxxxxxxxxxxxxx/team_xxxxxxxxxxxxxxxxxxxxxxxx
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    vercel pulumiverse/pulumi-vercel
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the vercel Terraform Provider.
    vercel logo vercel logo
    Viewing docs for Vercel v5.27.0
    published on Sunday, Nov 15, 2026 by Pulumiverse

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial