← All resources

Resource

team_membership

An individually managed team membership

GraphQL reference →

Configuration

teamIdTeamID!Required

Team ID

References team

forces replacement

userIdUserID!Required

User ID to add

References service_account

forces replacement

Read-only values

Show values
idTeamMembershipID!Read only

Unique membership identity

computed by the platform

roleTeamMemberRole!Read only

MEMBER or ADMIN. Admins of a stack's owning team administer that stack. Set with setTeamMemberRole.

Allowed values

MEMBER — Does the team's work on the stacks it owns

ADMIN — Also administers the stacks the team owns: rules, bypass, review dismissal and secrets

computed by the platform

Lifecycle

The CLI can create this resource. The platform assigns its id.

When replacement is needed, the existing resource is removed before its replacement is created.