Organizations Service
Organizations
The Organizations service exposes methods to manage the organizations that exist in TSB. Organizations are the root of the Service Bridge object hierarchy. Each organization is completely independent of the other with its own set of tenants, users, teams, clusters and workspaces.
GetOrganization
rpc GetOrganization (tetrateio.api.tsb.v2.GetOrganizationRequest) returns (tetrateio.api.tsb.v2.Organization)
Requires ReadOrganization
Get the details of an organization.
SyncOrganization
rpc SyncOrganization (tetrateio.api.tsb.v2.SyncOrganizationRequest) returns (tetrateio.api.tsb.v2.SyncOrganizationResponse)
Requires CreateUser, CreateTeam, DeleteUser, DeleteTeam, WriteTeam
SyncOrganization is used by processes that monitor the identity providers to synchronize
the users and teams with the ones in TSB.
This method will update the state of users and groups in the organization and will create, modify, and
delete groups according to the incoming request.
Sync requests are assumed to be a full-sync and to contain all existing users and groups. Existing TSB users and groups
that are not contained in a sync request will be deleted from the platform, as it will assume they have been removed
from the Identity Provider.
CreateSettings
rpc CreateSettings (tetrateio.api.tsb.v2.CreateOrganizationSettingsRequest) returns (tetrateio.api.tsb.v2.OrganizationSetting)
Requires CreateOrganizationSetting
Create a settings object for the given organization.
GetSettings
rpc GetSettings (tetrateio.api.tsb.v2.GetOrganizationSettingsRequest) returns (tetrateio.api.tsb.v2.OrganizationSetting)
Requires ReadOrganizationSetting
Get the details for the given settings object.
UpdateSettings
rpc UpdateSettings (tetrateio.api.tsb.v2.OrganizationSetting) returns (tetrateio.api.tsb.v2.OrganizationSetting)
Requires WriteOrganizationSetting
Modify the given settings in the given Organization.
ListSettings
rpc ListSettings (tetrateio.api.tsb.v2.ListOrganizationSettingsRequest) returns (tetrateio.api.tsb.v2.ListOrganizationSettingsResponse)
List all the settings objects that have been attached to the given Organization.
DeleteSettings
rpc DeleteSettings (tetrateio.api.tsb.v2.DeleteOrganizationSettingsRequest) returns (google.protobuf.Empty)
Requires DeleteOrganizationSetting
Delete the given settings object from the Organization.
CreateOrganizationSettingsRequest
Request to create a Organization Settings.
Field | Description | Validation Rule |
parent | string | string = { |
name | string | string = { |
settings | tetrateio.api.tsb.v2.OrganizationSetting | message = { |
DeleteOrganizationSettingsRequest
Request to delete a Organization Settings.
Field | Description | Validation Rule |
fqn | string | string = { |
GetOrganizationRequest
Request to retrieve a organization.
Field | Description | Validation Rule |
fqn | string | string = { |
GetOrganizationSettingsRequest
Request to retrieve a Organization Settings.
Field | Description | Validation Rule |
fqn | string | string = { |
ListOrganizationSettingsRequest
Request to list Organization Settings.
Field | Description | Validation Rule |
parent | string | string = { |
ListOrganizationSettingsResponse
List of all existing Organization settings objects in the Organization group.
Field | Description | Validation Rule |
settings | – |
SyncOrganizationRequest
Request to synchronize the users and teams in an organization from the configured identity provider.
Field | Description | Validation Rule |
fqn | string | string = { |
sourceType | tetrateio.api.tsb.v2.SourceType | – |
users | List of tetrateio.api.tsb.v2.SyncOrganizationRequest.SyncUser | – |
teams | List of tetrateio.api.tsb.v2.SyncOrganizationRequest.SyncTeam | – |
SyncTeam
Information of a team as synchronized from the team source. This differs slightly from a TSB user since the fields here are raw info that does not have the context of the TSB hierarchy.
Field | Description | Validation Rule |
id | string | string = { |
description | string | – |
memberUserIds | List of string | – |
memberGroupIds | List of string | – |
displayName | string | – |
SyncUser
Information of a user as synchronized from the team source. This differs slightly from a TSB user since the fields here are raw info that does not have the context of the TSB hierarchy.
Field | Description | Validation Rule |
id | string | string = { |
description | string | – |
string | – | |
loginName | string | – |
displayName | string | – |
SyncOrganizationResponse
Result of the organization users and team synchronization.
Field | Description | Validation Rule |
failedUsers | tetrateio.api.tsb.v2.SyncOrganizationResponse.FailedIds | – |
failedTeams | tetrateio.api.tsb.v2.SyncOrganizationResponse.FailedIds | – |
FailedIds
Field | Description | Validation Rule |
removal | List of string | – |
addition | List of string | – |
update | List of string | – |