fn list_teams(sort?: string, include?: string, filter_keyword?: string, filter_me?: boolean, fields_team?: string)
Get all teams
| Argument | Type | Required | Description |
|---|
| sort? | string | no | Specifies the order of the returned teams |
| include? | string | no | Included related resources optionally requested. Allowed enum values: `team_l... |
| filter_keyword? | string | no | Search query. Can be team name, team handle, or email of team member |
| filter_me? | boolean | no | When true, only returns teams the current user belongs to |
| fields_team? | string | no | List of fields that need to be fetched. |
fn create_team(avatar?: string, banner?: number, description?: string, handle: string, hidden_modules?: array, name: string, visible_modules?: array)
Create a team
| Argument | Type | Required | Description |
|---|
| avatar? | string | no | Unicode representation of the avatar for the team, limited to a single grapheme |
| banner? | number | no | Banner selection for the team |
| description? | string | no | Free-form markdown description/content for the team's homepage |
| handle | string | yes | The team's identifier |
| hidden_modules? | array | no | Collection of hidden modules for the team |
| name | string | yes | The name of the team |
| visible_modules? | array | no | Collection of visible modules for the team |
fn list_team_hierarchy_links(filter_parent_team?: string, filter_sub_team?: string)
Get team hierarchy links
| Argument | Type | Required | Description |
|---|
| filter_parent_team? | string | no | Filter by parent team ID |
| filter_sub_team? | string | no | Filter by sub team ID |
fn add_team_hierarchy_link(relationships: unknown, type: unknown)
Create a team hierarchy link
| Argument | Type | Required | Description |
|---|
| relationships | unknown | yes | |
| type | unknown | yes | |
fn get_team_hierarchy_link(link_id: string)
Get a team hierarchy link
| Argument | Type | Required | Description |
|---|
| link_id | string | yes | The team hierarchy link's identifier |
fn remove_team_hierarchy_link(link_id: string)
Remove a team hierarchy link
| Argument | Type | Required | Description |
|---|
| link_id | string | yes | The team hierarchy link's identifier |
fn list_team_connections(filter_sources?: string, filter_team_ids?: string, filter_connected_team_ids?: string, filter_connection_ids?: string)
List team connections
| Argument | Type | Required | Description |
|---|
| filter_sources? | string | no | Filter team connections by external source systems. |
| filter_team_ids? | string | no | Filter team connections by Datadog team IDs. |
| filter_connected_team_ids? | string | no | Filter team connections by connected team IDs from external systems. |
| filter_connection_ids? | string | no | Filter team connections by connection IDs. |
fn create_team_connections()
Create team connections
fn delete_team_connections()
Delete team connections
fn get_team_sync(filter_source?: string)
Get team sync configurations
| Argument | Type | Required | Description |
|---|
| filter_source? | string | no | Filter by the external source platform for team synchronization |
fn sync_teams(frequency?: unknown, selection_state?: unknown, source: unknown, sync_membership?: unknown, type: unknown)
Link Teams with GitHub Teams
| Argument | Type | Required | Description |
|---|
| frequency? | unknown | no | |
| selection_state? | unknown | no | |
| source | unknown | yes | |
| sync_membership? | unknown | no | |
| type | unknown | yes | |
fn get_team(team_id: string)
Get a team
| Argument | Type | Required | Description |
|---|
| team_id | string | yes | None |
fn update_team(team_id: string, avatar?: string, banner?: number, description?: string, handle: string, hidden_modules?: array, name: string, visible_modules?: array)
Update a team
| Argument | Type | Required | Description |
|---|
| team_id | string | yes | None |
| avatar? | string | no | Unicode representation of the avatar for the team, limited to a single grapheme |
| banner? | number | no | Banner selection for the team |
| description? | string | no | Free-form markdown description/content for the team's homepage |
| handle | string | yes | The team's identifier |
| hidden_modules? | array | no | Collection of hidden modules for the team |
| name | string | yes | The name of the team |
| visible_modules? | array | no | Collection of visible modules for the team |
fn delete_team(team_id: string)
Remove a team
| Argument | Type | Required | Description |
|---|
| team_id | string | yes | None |
fn get_team_links(team_id: string)
Get links for a team
| Argument | Type | Required | Description |
|---|
| team_id | string | yes | None |
fn create_team_link(team_id: string, label: string, position?: number, url: string)
Create a team link
| Argument | Type | Required | Description |
|---|
| team_id | string | yes | None |
| label | string | yes | The link's label |
| position? | number | no | The link's position, used to sort links for the team |
| url | string | yes | The URL for the link |
fn get_team_link(team_id: string, link_id: string)
Get a team link
| Argument | Type | Required | Description |
|---|
| team_id | string | yes | None |
| link_id | string | yes | None |
fn update_team_link(team_id: string, link_id: string, label: string, position?: number, url: string)
Update a team link
| Argument | Type | Required | Description |
|---|
| team_id | string | yes | None |
| link_id | string | yes | None |
| label | string | yes | The link's label |
| position? | number | no | The link's position, used to sort links for the team |
| url | string | yes | The URL for the link |
fn delete_team_link(team_id: string, link_id: string)
Remove a team link
| Argument | Type | Required | Description |
|---|
| team_id | string | yes | None |
| link_id | string | yes | None |
fn get_team_memberships(team_id: string, sort?: string, filter_keyword?: string)
Get team memberships
| Argument | Type | Required | Description |
|---|
| team_id | string | yes | None |
| sort? | string | no | Specifies the order of returned team memberships |
| filter_keyword? | string | no | Search query, can be user email or name |
fn create_team_membership(team_id: string, provisioned_by?: string, provisioned_by_id?: string, role?: unknown)
Add a user to a team
| Argument | Type | Required | Description |
|---|
| team_id | string | yes | None |
| provisioned_by? | string | no | The mechanism responsible for provisioning the team relationship. Possible va... |
| provisioned_by_id? | string | no | UUID of the User or Service Account who provisioned this team membership, or ... |
| role? | unknown | no | |
fn update_team_membership(team_id: string, user_id: string, provisioned_by?: string, provisioned_by_id?: string, role?: unknown)
Update a user's membership attributes on a team
| Argument | Type | Required | Description |
|---|
| team_id | string | yes | None |
| user_id | string | yes | None |
| provisioned_by? | string | no | The mechanism responsible for provisioning the team relationship. Possible va... |
| provisioned_by_id? | string | no | UUID of the User or Service Account who provisioned this team membership, or ... |
| role? | unknown | no | |
fn delete_team_membership(team_id: string, user_id: string)
Remove a user from a team
| Argument | Type | Required | Description |
|---|
| team_id | string | yes | None |
| user_id | string | yes | None |
fn get_team_notification_rules(team_id: string)
Get team notification rules
| Argument | Type | Required | Description |
|---|
| team_id | string | yes | None |
fn create_team_notification_rule(team_id: string, email?: unknown, ms_teams?: unknown, pagerduty?: unknown, slack?: unknown)
Create team notification rule
| Argument | Type | Required | Description |
|---|
| team_id | string | yes | None |
| email? | unknown | no | |
| ms_teams? | unknown | no | |
| pagerduty? | unknown | no | |
| slack? | unknown | no | |
fn get_team_notification_rule(team_id: string, rule_id: string)
Get team notification rule
| Argument | Type | Required | Description |
|---|
| team_id | string | yes | None |
| rule_id | string | yes | None |
fn update_team_notification_rule(team_id: string, rule_id: string, email?: unknown, ms_teams?: unknown, pagerduty?: unknown, slack?: unknown)
Update team notification rule
| Argument | Type | Required | Description |
|---|
| team_id | string | yes | None |
| rule_id | string | yes | None |
| email? | unknown | no | |
| ms_teams? | unknown | no | |
| pagerduty? | unknown | no | |
| slack? | unknown | no | |
fn delete_team_notification_rule(team_id: string, rule_id: string)
Delete team notification rule
| Argument | Type | Required | Description |
|---|
| team_id | string | yes | None |
| rule_id | string | yes | None |
fn get_team_permission_settings(team_id: string)
Get permission settings for a team
| Argument | Type | Required | Description |
|---|
| team_id | string | yes | None |
fn update_team_permission_setting(team_id: string, action: string, value?: unknown)
Update permission setting for team
| Argument | Type | Required | Description |
|---|
| team_id | string | yes | None |
| action | string | yes | None |
| value? | unknown | no | |
fn get_user_memberships(user_uuid: string)
Get user memberships
| Argument | Type | Required | Description |
|---|
| user_uuid | string | yes | None |
Resources
teams(infinite)— Get all teams
team(infinite)— Create a team
team_hierarchy_links(infinite)— Get team hierarchy links
add_team_hierarchy_link(infinite)— Create a team hierarchy link
team_hierarchy_link(infinite)— Get a team hierarchy link
team_connections(infinite)— List team connections
create_team_connections(infinite)— Create team connections
team_sync(infinite)— Get team sync configurations
sync_teams(infinite)— Link Teams with GitHub Teams
team_links(infinite)— Get links for a team
team_link(infinite)— Create a team link
team_memberships(infinite)— Get team memberships
team_membership(infinite)— Add a user to a team
team_notification_rules(infinite)— Get team notification rules
team_notification_rule(infinite)— Create team notification rule
team_permission_settings(infinite)— Get permission settings for a team
team_permission_setting(infinite)— Update permission setting for team
user_memberships(infinite)— Get user memberships