Vercel v3.2.1 published on Wednesday, May 14, 2025 by Pulumiverse
vercel.getTeamMember
Explore with Pulumi AI
Provider a datasource for managing a team member.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as vercel from "@pulumi/vercel";
const example = vercel.getTeamMember({
userId: "uuuuuuuuuuuuuuuuuuuuuuuuuu",
teamId: "team_xxxxxxxxxxxxxxxxxxxxxxxx",
});
import pulumi
import pulumi_vercel as vercel
example = vercel.get_team_member(user_id="uuuuuuuuuuuuuuuuuuuuuuuuuu",
team_id="team_xxxxxxxxxxxxxxxxxxxxxxxx")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-vercel/sdk/v3/go/vercel"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := vercel.LookupTeamMember(ctx, &vercel.LookupTeamMemberArgs{
UserId: "uuuuuuuuuuuuuuuuuuuuuuuuuu",
TeamId: "team_xxxxxxxxxxxxxxxxxxxxxxxx",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Vercel = Pulumi.Vercel;
return await Deployment.RunAsync(() =>
{
var example = Vercel.GetTeamMember.Invoke(new()
{
UserId = "uuuuuuuuuuuuuuuuuuuuuuuuuu",
TeamId = "team_xxxxxxxxxxxxxxxxxxxxxxxx",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.vercel.VercelFunctions;
import com.pulumi.vercel.inputs.GetTeamMemberArgs;
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) {
final var example = VercelFunctions.getTeamMember(GetTeamMemberArgs.builder()
.userId("uuuuuuuuuuuuuuuuuuuuuuuuuu")
.teamId("team_xxxxxxxxxxxxxxxxxxxxxxxx")
.build());
}
}
variables:
example:
fn::invoke:
Function: vercel:getTeamMember
Arguments:
userId: uuuuuuuuuuuuuuuuuuuuuuuuuu
teamId: team_xxxxxxxxxxxxxxxxxxxxxxxx
Using getTeamMember
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getTeamMember(args: GetTeamMemberArgs, opts?: InvokeOptions): Promise<GetTeamMemberResult>
function getTeamMemberOutput(args: GetTeamMemberOutputArgs, opts?: InvokeOptions): Output<GetTeamMemberResult>
def get_team_member(team_id: Optional[str] = None,
user_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTeamMemberResult
def get_team_member_output(team_id: Optional[pulumi.Input[str]] = None,
user_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTeamMemberResult]
func LookupTeamMember(ctx *Context, args *LookupTeamMemberArgs, opts ...InvokeOption) (*LookupTeamMemberResult, error)
func LookupTeamMemberOutput(ctx *Context, args *LookupTeamMemberOutputArgs, opts ...InvokeOption) LookupTeamMemberResultOutput
> Note: This function is named LookupTeamMember
in the Go SDK.
public static class GetTeamMember
{
public static Task<GetTeamMemberResult> InvokeAsync(GetTeamMemberArgs args, InvokeOptions? opts = null)
public static Output<GetTeamMemberResult> Invoke(GetTeamMemberInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetTeamMemberResult> getTeamMember(GetTeamMemberArgs args, InvokeOptions options)
public static Output<GetTeamMemberResult> getTeamMember(GetTeamMemberArgs args, InvokeOptions options)
fn::invoke:
function: vercel:index/getTeamMember:getTeamMember
arguments:
# arguments dictionary
The following arguments are supported:
getTeamMember Result
The following output properties are available:
- Access
Groups List<string> - If access groups are enabled on the team, and the user is a CONTRIBUTOR,
projects
,access_groups
or both must be specified. A set of access groups IDs that the user should be granted access to. - Email string
- The email address of the existing Vercel Team Member.
- Id string
- The ID of this resource.
- Projects
List<Pulumiverse.
Vercel. Outputs. Get Team Member Project> - If access groups are enabled on the team, and the user is a CONTRIBUTOR,
projects
,access_groups
or both must be specified. A set of projects that the user should be granted access to, along with their role in each project. - Role string
- The role that the user should have in the project. One of 'MEMBER', 'OWNER', 'VIEWER', 'DEVELOPER', 'BILLING' or 'CONTRIBUTOR'. Depending on your Team's plan, some of these roles may be unavailable.
- Team
Id string - The ID of the existing Vercel Team.
- User
Id string - The ID of the existing Vercel Team Member.
- Access
Groups []string - If access groups are enabled on the team, and the user is a CONTRIBUTOR,
projects
,access_groups
or both must be specified. A set of access groups IDs that the user should be granted access to. - Email string
- The email address of the existing Vercel Team Member.
- Id string
- The ID of this resource.
- Projects
[]Get
Team Member Project - If access groups are enabled on the team, and the user is a CONTRIBUTOR,
projects
,access_groups
or both must be specified. A set of projects that the user should be granted access to, along with their role in each project. - Role string
- The role that the user should have in the project. One of 'MEMBER', 'OWNER', 'VIEWER', 'DEVELOPER', 'BILLING' or 'CONTRIBUTOR'. Depending on your Team's plan, some of these roles may be unavailable.
- Team
Id string - The ID of the existing Vercel Team.
- User
Id string - The ID of the existing Vercel Team Member.
- access
Groups List<String> - If access groups are enabled on the team, and the user is a CONTRIBUTOR,
projects
,access_groups
or both must be specified. A set of access groups IDs that the user should be granted access to. - email String
- The email address of the existing Vercel Team Member.
- id String
- The ID of this resource.
- projects
List<Get
Team Member Project> - If access groups are enabled on the team, and the user is a CONTRIBUTOR,
projects
,access_groups
or both must be specified. A set of projects that the user should be granted access to, along with their role in each project. - role String
- The role that the user should have in the project. One of 'MEMBER', 'OWNER', 'VIEWER', 'DEVELOPER', 'BILLING' or 'CONTRIBUTOR'. Depending on your Team's plan, some of these roles may be unavailable.
- team
Id String - The ID of the existing Vercel Team.
- user
Id String - The ID of the existing Vercel Team Member.
- access
Groups string[] - If access groups are enabled on the team, and the user is a CONTRIBUTOR,
projects
,access_groups
or both must be specified. A set of access groups IDs that the user should be granted access to. - email string
- The email address of the existing Vercel Team Member.
- id string
- The ID of this resource.
- projects
Get
Team Member Project[] - If access groups are enabled on the team, and the user is a CONTRIBUTOR,
projects
,access_groups
or both must be specified. A set of projects that the user should be granted access to, along with their role in each project. - role string
- The role that the user should have in the project. One of 'MEMBER', 'OWNER', 'VIEWER', 'DEVELOPER', 'BILLING' or 'CONTRIBUTOR'. Depending on your Team's plan, some of these roles may be unavailable.
- team
Id string - The ID of the existing Vercel Team.
- user
Id string - The ID of the existing Vercel Team Member.
- access_
groups Sequence[str] - If access groups are enabled on the team, and the user is a CONTRIBUTOR,
projects
,access_groups
or both must be specified. A set of access groups IDs that the user should be granted access to. - email str
- The email address of the existing Vercel Team Member.
- id str
- The ID of this resource.
- projects
Sequence[Get
Team Member Project] - If access groups are enabled on the team, and the user is a CONTRIBUTOR,
projects
,access_groups
or both must be specified. A set of projects that the user should be granted access to, along with their role in each project. - role str
- The role that the user should have in the project. One of 'MEMBER', 'OWNER', 'VIEWER', 'DEVELOPER', 'BILLING' or 'CONTRIBUTOR'. Depending on your Team's plan, some of these roles may be unavailable.
- team_
id str - The ID of the existing Vercel Team.
- user_
id str - The ID of the existing Vercel Team Member.
- access
Groups List<String> - If access groups are enabled on the team, and the user is a CONTRIBUTOR,
projects
,access_groups
or both must be specified. A set of access groups IDs that the user should be granted access to. - email String
- The email address of the existing Vercel Team Member.
- id String
- The ID of this resource.
- projects List<Property Map>
- If access groups are enabled on the team, and the user is a CONTRIBUTOR,
projects
,access_groups
or both must be specified. A set of projects that the user should be granted access to, along with their role in each project. - role String
- The role that the user should have in the project. One of 'MEMBER', 'OWNER', 'VIEWER', 'DEVELOPER', 'BILLING' or 'CONTRIBUTOR'. Depending on your Team's plan, some of these roles may be unavailable.
- team
Id String - The ID of the existing Vercel Team.
- user
Id String - The ID of the existing Vercel Team Member.
Supporting Types
GetTeamMemberProject
- project_
id str - The ID of the project that the user should be granted access to.
- role str
- The role that the user should have in the project.
Package Details
- Repository
- vercel pulumiverse/pulumi-vercel
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
vercel
Terraform Provider.