Teams Service
Teams
The Teams service provides methods to manage the Users and Teams that exist in an Organization.
Users and Teams are periodically synchronized from the Identity Provider (IdP) configured for the Organization, but TSB allows creating local teams to provide extended flexibility in how Users and Teams are grouped, and to provide a comprehensive way of creating more fine-grained access control policies.
GetUser
rpc GetUser (tetrateio.api.tsb.v2.GetUserRequest) returns (tetrateio.api.tsb.v2.User)
Requires ReadUser
Get the details of an existing user.
ListUsers
rpc ListUsers (tetrateio.api.tsb.v2.ListUsersRequest) returns (tetrateio.api.tsb.v2.ListUsersResponse)
List existing users.
GenerateTokens
rpc GenerateTokens (tetrateio.api.tsb.v2.GenerateTokensRequest) returns (tetrateio.api.tsb.v2.TokenResponse)
Requires CreateUser
Generate the tokens for a local user account so it can authenticate against management plane. This method will return an error if the user account is not of type MANUAL. Credentials for normal platform users must be configured in the corresponding Identity Provider.
CreateTeam
rpc CreateTeam (tetrateio.api.tsb.v2.CreateTeamRequest) returns (tetrateio.api.tsb.v2.Team)
Requires CreateTeam
Create a new team.
GetTeam
rpc GetTeam (tetrateio.api.tsb.v2.GetTeamRequest) returns (tetrateio.api.tsb.v2.Team)
Requires ReadTeam
Get the details of an existing team.
UpdateTeam
rpc UpdateTeam (tetrateio.api.tsb.v2.Team) returns (tetrateio.api.tsb.v2.Team)
Requires WriteTeam
Modify an existing team.
ListTeams
rpc ListTeams (tetrateio.api.tsb.v2.ListTeamsRequest) returns (tetrateio.api.tsb.v2.ListTeamsResponse)
List all existing teams.
DeleteTeam
rpc DeleteTeam (tetrateio.api.tsb.v2.DeleteTeamRequest) returns (google.protobuf.Empty)
Requires DeleteTeam
Delete a team. Note that deleting a team only deletes the team itself, but not its members.
CreateTeamRequest
Request to create a Team.
Field | Description | Validation Rule |
parent | string | string = { |
name | string | string = { |
team | tetrateio.api.tsb.v2.Team | message = { |
DeleteTeamRequest
Request to delete a Team.
Field | Description | Validation Rule |
fqn | string | string = { |
GetTeamRequest
Request to retrieve a Team.
Field | Description | Validation Rule |
fqn | string | string = { |
GetUserRequest
Request to retrieve a User.
Field | Description | Validation Rule |
fqn | string | string = { |
ListTeamsRequest
Request to list Teams.
Field | Description | Validation Rule |
parent | string | string = { |
ListTeamsResponse
List of existing teams.
Field | Description | Validation Rule |
teams | List of tetrateio.api.tsb.v2.Team | – |
ListUsersRequest
Request to list Users.
Field | Description | Validation Rule |
parent | string | string = { |
ListUsersResponse
Field | Description | Validation Rule |
users | List of tetrateio.api.tsb.v2.User | – |
TokenResponse
Contains a pair of tokens for a user that can be used to authenticate against TSB.
Field | Description | Validation Rule |
accessToken | string | – |
refreshToken | string | – |