Class TeamsApi
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classManage optional parameters to getTeamMemberships.static classManage optional parameters to listMemberTeams.static classManage optional parameters to listTeamConnections.static classManage optional parameters to listTeamHierarchyLinks.static classManage optional parameters to listTeams. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMemberTeam(String superTeamId, AddMemberTeamRequest body) Deprecated.addMemberTeamAsync(String superTeamId, AddMemberTeamRequest body) Deprecated.addMemberTeamWithHttpInfo(String superTeamId, AddMemberTeamRequest body) Deprecated.addMemberTeamWithHttpInfoAsync(String superTeamId, AddMemberTeamRequest body) Deprecated.Create a team hierarchy link.Create a team hierarchy link.Create a new team hierarchy link between a parent team and a sub team.Create a team hierarchy link.createTeam(TeamCreateRequest body) Create a team.Create a team.Create team connections.Create team connections.Create multiple team connections.Create team connections.createTeamLink(String teamId, TeamLinkCreateRequest body) Create a team link.createTeamLinkAsync(String teamId, TeamLinkCreateRequest body) Create a team link.createTeamLinkWithHttpInfo(String teamId, TeamLinkCreateRequest body) Add a new link to a team.createTeamLinkWithHttpInfoAsync(String teamId, TeamLinkCreateRequest body) Create a team link.createTeamMembership(String teamId, UserTeamRequest body) Add a user to a team.createTeamMembershipAsync(String teamId, UserTeamRequest body) Add a user to a team.createTeamMembershipWithHttpInfo(String teamId, UserTeamRequest body) Add a user to a team.createTeamMembershipWithHttpInfoAsync(String teamId, UserTeamRequest body) Add a user to a team.createTeamNotificationRule(String teamId, TeamNotificationRuleRequest body) Create team notification rule.createTeamNotificationRuleAsync(String teamId, TeamNotificationRuleRequest body) Create team notification rule.Create team notification rule.Create a new team.Create a team.voiddeleteTeam(String teamId) Remove a team.deleteTeamAsync(String teamId) Remove a team.voidDelete team connections.Delete team connections.Delete multiple team connections.Delete team connections.voiddeleteTeamLink(String teamId, String linkId) Remove a team link.deleteTeamLinkAsync(String teamId, String linkId) Remove a team link.deleteTeamLinkWithHttpInfo(String teamId, String linkId) Remove a link from a team.deleteTeamLinkWithHttpInfoAsync(String teamId, String linkId) Remove a team link.voiddeleteTeamMembership(String teamId, String userId) Remove a user from a team.deleteTeamMembershipAsync(String teamId, String userId) Remove a user from a team.deleteTeamMembershipWithHttpInfo(String teamId, String userId) Remove a user from a team.deleteTeamMembershipWithHttpInfoAsync(String teamId, String userId) Remove a user from a team.voiddeleteTeamNotificationRule(String teamId, String ruleId) Delete team notification rule.deleteTeamNotificationRuleAsync(String teamId, String ruleId) Delete team notification rule.deleteTeamNotificationRuleWithHttpInfo(String teamId, String ruleId) deleteTeamNotificationRuleWithHttpInfoAsync(String teamId, String ruleId) Delete team notification rule.deleteTeamWithHttpInfo(String teamId) Remove a team using the team'sid.deleteTeamWithHttpInfoAsync(String teamId) Remove a team.Get the API client.Get a team.getTeamAsync(String teamId) Get a team.getTeamHierarchyLink(String linkId) Get a team hierarchy link.getTeamHierarchyLinkAsync(String linkId) Get a team hierarchy link.Get a single team hierarchy link for the given link_id.Get a team hierarchy link.getTeamLink(String teamId, String linkId) Get a team link.getTeamLinkAsync(String teamId, String linkId) Get a team link.getTeamLinks(String teamId) Get links for a team.getTeamLinksAsync(String teamId) Get links for a team.getTeamLinksWithHttpInfo(String teamId) Get all links for a given team.getTeamLinksWithHttpInfoAsync(String teamId) Get links for a team.getTeamLinkWithHttpInfo(String teamId, String linkId) Get a single link for a team.getTeamLinkWithHttpInfoAsync(String teamId, String linkId) Get a team link.getTeamMemberships(String teamId) Get team memberships.getTeamMemberships(String teamId, TeamsApi.GetTeamMembershipsOptionalParameters parameters) Get team memberships.getTeamMembershipsAsync(String teamId) Get team memberships.getTeamMembershipsAsync(String teamId, TeamsApi.GetTeamMembershipsOptionalParameters parameters) Get team memberships.getTeamMembershipsWithHttpInfo(String teamId, TeamsApi.GetTeamMembershipsOptionalParameters parameters) Get a paginated list of members for a teamgetTeamMembershipsWithHttpInfoAsync(String teamId, TeamsApi.GetTeamMembershipsOptionalParameters parameters) Get team memberships.Get team memberships.getTeamMembershipsWithPagination(String teamId, TeamsApi.GetTeamMembershipsOptionalParameters parameters) Get team memberships.getTeamNotificationRule(String teamId, String ruleId) Get team notification rule.getTeamNotificationRuleAsync(String teamId, String ruleId) Get team notification rule.getTeamNotificationRules(String teamId) Get team notification rules.getTeamNotificationRulesAsync(String teamId) Get team notification rules.Get team notification rules.getTeamNotificationRuleWithHttpInfo(String teamId, String ruleId) getTeamNotificationRuleWithHttpInfoAsync(String teamId, String ruleId) Get team notification rule.getTeamPermissionSettings(String teamId) Get permission settings for a team.getTeamPermissionSettingsAsync(String teamId) Get permission settings for a team.Get all permission settings for a given team.Get permission settings for a team.getTeamSync(TeamSyncAttributesSource filterSource) Get team sync configurations.getTeamSyncAsync(TeamSyncAttributesSource filterSource) Get team sync configurations.getTeamSyncWithHttpInfo(TeamSyncAttributesSource filterSource) Get all team synchronization configurations.getTeamSyncWithHttpInfoAsync(TeamSyncAttributesSource filterSource) Get team sync configurations.getTeamWithHttpInfo(String teamId) Get a single team using the team'sid.getTeamWithHttpInfoAsync(String teamId) Get a team.getUserMemberships(String userUuid) Get user memberships.getUserMembershipsAsync(String userUuid) Get user memberships.getUserMembershipsWithHttpInfo(String userUuid) Get a list of memberships for a usergetUserMembershipsWithHttpInfoAsync(String userUuid) Get user memberships.listMemberTeams(String superTeamId) Deprecated.listMemberTeams(String superTeamId, TeamsApi.ListMemberTeamsOptionalParameters parameters) Deprecated.listMemberTeamsAsync(String superTeamId) Deprecated.listMemberTeamsAsync(String superTeamId, TeamsApi.ListMemberTeamsOptionalParameters parameters) Deprecated.listMemberTeamsWithHttpInfo(String superTeamId, TeamsApi.ListMemberTeamsOptionalParameters parameters) Deprecated.listMemberTeamsWithHttpInfoAsync(String superTeamId, TeamsApi.ListMemberTeamsOptionalParameters parameters) Deprecated.listMemberTeamsWithPagination(String superTeamId) Deprecated.listMemberTeamsWithPagination(String superTeamId, TeamsApi.ListMemberTeamsOptionalParameters parameters) Deprecated.List team connections.List team connections.List team connections.List team connections.Returns all team connections.List team connections.List team connections.List team connections.Get team hierarchy links.Get team hierarchy links.Get team hierarchy links.Get team hierarchy links.List all team hierarchy links that match the provided filters.listTeamHierarchyLinksWithHttpInfoAsync(TeamsApi.ListTeamHierarchyLinksOptionalParameters parameters) Get team hierarchy links.Get team hierarchy links.Get team hierarchy links.Get all teams.listTeams(TeamsApi.ListTeamsOptionalParameters parameters) Get all teams.Get all teams.listTeamsAsync(TeamsApi.ListTeamsOptionalParameters parameters) Get all teams.Get all teams.Get all teams.Get all teams.Get all teams.voidremoveMemberTeam(String superTeamId, String memberTeamId) Deprecated.removeMemberTeamAsync(String superTeamId, String memberTeamId) Deprecated.removeMemberTeamWithHttpInfo(String superTeamId, String memberTeamId) Deprecated.removeMemberTeamWithHttpInfoAsync(String superTeamId, String memberTeamId) Deprecated.voidremoveTeamHierarchyLink(String linkId) Remove a team hierarchy link.removeTeamHierarchyLinkAsync(String linkId) Remove a team hierarchy link.Remove a team hierarchy link by the given link_id.Remove a team hierarchy link.voidsetApiClient(ApiClient apiClient) Set the API client.voidsyncTeams(TeamSyncRequest body) Link Teams with GitHub Teams.Link Teams with GitHub Teams.This endpoint configures synchronization between your existing Datadog teams and GitHub teams by matching their names.Link Teams with GitHub Teams.updateTeam(String teamId, TeamUpdateRequest body) Update a team.updateTeamAsync(String teamId, TeamUpdateRequest body) Update a team.updateTeamLink(String teamId, String linkId, TeamLinkCreateRequest body) Update a team link.updateTeamLinkAsync(String teamId, String linkId, TeamLinkCreateRequest body) Update a team link.updateTeamLinkWithHttpInfo(String teamId, String linkId, TeamLinkCreateRequest body) Update a team link.updateTeamLinkWithHttpInfoAsync(String teamId, String linkId, TeamLinkCreateRequest body) Update a team link.updateTeamMembership(String teamId, String userId, UserTeamUpdateRequest body) Update a user's membership attributes on a team.updateTeamMembershipAsync(String teamId, String userId, UserTeamUpdateRequest body) Update a user's membership attributes on a team.updateTeamMembershipWithHttpInfo(String teamId, String userId, UserTeamUpdateRequest body) Update a user's membership attributes on a team.updateTeamMembershipWithHttpInfoAsync(String teamId, String userId, UserTeamUpdateRequest body) Update a user's membership attributes on a team.updateTeamNotificationRule(String teamId, String ruleId, TeamNotificationRuleRequest body) Update team notification rule.updateTeamNotificationRuleAsync(String teamId, String ruleId, TeamNotificationRuleRequest body) Update team notification rule.updateTeamNotificationRuleWithHttpInfo(String teamId, String ruleId, TeamNotificationRuleRequest body) updateTeamNotificationRuleWithHttpInfoAsync(String teamId, String ruleId, TeamNotificationRuleRequest body) Update team notification rule.updateTeamPermissionSetting(String teamId, String action, TeamPermissionSettingUpdateRequest body) Update permission setting for team.updateTeamPermissionSettingAsync(String teamId, String action, TeamPermissionSettingUpdateRequest body) Update permission setting for team.updateTeamPermissionSettingWithHttpInfo(String teamId, String action, TeamPermissionSettingUpdateRequest body) Update a team permission setting for a given team.updateTeamPermissionSettingWithHttpInfoAsync(String teamId, String action, TeamPermissionSettingUpdateRequest body) Update permission setting for team.updateTeamWithHttpInfo(String teamId, TeamUpdateRequest body) Update a team using the team'sid.updateTeamWithHttpInfoAsync(String teamId, TeamUpdateRequest body) Update a team.
-
Constructor Details
-
TeamsApi
public TeamsApi() -
TeamsApi
-
-
Method Details
-
getApiClient
Get the API client.- Returns:
- API client
-
setApiClient
Set the API client.- Parameters:
apiClient- an instance of API client
-
addMemberTeam
@Deprecated public void addMemberTeam(String superTeamId, AddMemberTeamRequest body) throws ApiException Deprecated.Add a member team.See
addMemberTeamWithHttpInfo(java.lang.String, com.datadog.api.client.v2.model.AddMemberTeamRequest).- Parameters:
superTeamId- None (required)body- (required)- Throws:
ApiException- if fails to make API call
-
addMemberTeamAsync
@Deprecated public CompletableFuture<Void> addMemberTeamAsync(String superTeamId, AddMemberTeamRequest body) Deprecated.Add a member team.- Parameters:
superTeamId- None (required)body- (required)- Returns:
- CompletableFuture
-
addMemberTeamWithHttpInfo
@Deprecated public ApiResponse<Void> addMemberTeamWithHttpInfo(String superTeamId, AddMemberTeamRequest body) throws ApiException Deprecated.Add a member team. Adds the team given by theidin the body as a member team of the super team.Note: This API is deprecated. For creating team hierarchy links, use the team hierarchy links API:
POST /api/v2/team-hierarchy-links.- Parameters:
superTeamId- None (required)body- (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 204 Added - 403 Forbidden - 409 API error response. - 429 Too many requests -
-
addMemberTeamWithHttpInfoAsync
@Deprecated public CompletableFuture<ApiResponse<Void>> addMemberTeamWithHttpInfoAsync(String superTeamId, AddMemberTeamRequest body) Deprecated.Add a member team.See
addMemberTeamWithHttpInfo(java.lang.String, com.datadog.api.client.v2.model.AddMemberTeamRequest).- Parameters:
superTeamId- None (required)body- (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
addTeamHierarchyLink
public TeamHierarchyLinkResponse addTeamHierarchyLink(TeamHierarchyLinkCreateRequest body) throws ApiException Create a team hierarchy link.See
addTeamHierarchyLinkWithHttpInfo(com.datadog.api.client.v2.model.TeamHierarchyLinkCreateRequest).- Parameters:
body- (required)- Returns:
- TeamHierarchyLinkResponse
- Throws:
ApiException- if fails to make API call
-
addTeamHierarchyLinkAsync
public CompletableFuture<TeamHierarchyLinkResponse> addTeamHierarchyLinkAsync(TeamHierarchyLinkCreateRequest body) Create a team hierarchy link.- Parameters:
body- (required)- Returns:
- CompletableFuture<TeamHierarchyLinkResponse>
-
addTeamHierarchyLinkWithHttpInfo
public ApiResponse<TeamHierarchyLinkResponse> addTeamHierarchyLinkWithHttpInfo(TeamHierarchyLinkCreateRequest body) throws ApiException Create a new team hierarchy link between a parent team and a sub team.- Parameters:
body- (required)- Returns:
- ApiResponse<TeamHierarchyLinkResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 403 Forbidden - 409 Conflict - 429 Too many requests -
-
addTeamHierarchyLinkWithHttpInfoAsync
public CompletableFuture<ApiResponse<TeamHierarchyLinkResponse>> addTeamHierarchyLinkWithHttpInfoAsync(TeamHierarchyLinkCreateRequest body) Create a team hierarchy link.See
addTeamHierarchyLinkWithHttpInfo(com.datadog.api.client.v2.model.TeamHierarchyLinkCreateRequest).- Parameters:
body- (required)- Returns:
- CompletableFuture<ApiResponse<TeamHierarchyLinkResponse>>
-
createTeam
Create a team.See
createTeamWithHttpInfo(com.datadog.api.client.v2.model.TeamCreateRequest).- Parameters:
body- (required)- Returns:
- TeamResponse
- Throws:
ApiException- if fails to make API call
-
createTeamAsync
Create a team.See
createTeamWithHttpInfoAsync(com.datadog.api.client.v2.model.TeamCreateRequest).- Parameters:
body- (required)- Returns:
- CompletableFuture<TeamResponse>
-
createTeamWithHttpInfo
Create a new team. User IDs passed through theusersrelationship field are added to the team.- Parameters:
body- (required)- Returns:
- ApiResponse<TeamResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 201 CREATED - 403 Forbidden - 409 API error response. - 429 Too many requests -
-
createTeamWithHttpInfoAsync
public CompletableFuture<ApiResponse<TeamResponse>> createTeamWithHttpInfoAsync(TeamCreateRequest body) Create a team.See
createTeamWithHttpInfo(com.datadog.api.client.v2.model.TeamCreateRequest).- Parameters:
body- (required)- Returns:
- CompletableFuture<ApiResponse<TeamResponse>>
-
createTeamConnections
public TeamConnectionsResponse createTeamConnections(TeamConnectionCreateRequest body) throws ApiException Create team connections.See
createTeamConnectionsWithHttpInfo(com.datadog.api.client.v2.model.TeamConnectionCreateRequest).- Parameters:
body- (required)- Returns:
- TeamConnectionsResponse
- Throws:
ApiException- if fails to make API call
-
createTeamConnectionsAsync
public CompletableFuture<TeamConnectionsResponse> createTeamConnectionsAsync(TeamConnectionCreateRequest body) Create team connections.See
createTeamConnectionsWithHttpInfoAsync(com.datadog.api.client.v2.model.TeamConnectionCreateRequest).- Parameters:
body- (required)- Returns:
- CompletableFuture<TeamConnectionsResponse>
-
createTeamConnectionsWithHttpInfo
public ApiResponse<TeamConnectionsResponse> createTeamConnectionsWithHttpInfo(TeamConnectionCreateRequest body) throws ApiException Create multiple team connections.- Parameters:
body- (required)- Returns:
- ApiResponse<TeamConnectionsResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 201 Created - 400 Bad Request - 403 Forbidden - 409 Conflict - 429 Too many requests -
-
createTeamConnectionsWithHttpInfoAsync
public CompletableFuture<ApiResponse<TeamConnectionsResponse>> createTeamConnectionsWithHttpInfoAsync(TeamConnectionCreateRequest body) Create team connections.See
createTeamConnectionsWithHttpInfo(com.datadog.api.client.v2.model.TeamConnectionCreateRequest).- Parameters:
body- (required)- Returns:
- CompletableFuture<ApiResponse<TeamConnectionsResponse>>
-
createTeamLink
public TeamLinkResponse createTeamLink(String teamId, TeamLinkCreateRequest body) throws ApiException Create a team link.See
createTeamLinkWithHttpInfo(java.lang.String, com.datadog.api.client.v2.model.TeamLinkCreateRequest).- Parameters:
teamId- None (required)body- (required)- Returns:
- TeamLinkResponse
- Throws:
ApiException- if fails to make API call
-
createTeamLinkAsync
public CompletableFuture<TeamLinkResponse> createTeamLinkAsync(String teamId, TeamLinkCreateRequest body) Create a team link.- Parameters:
teamId- None (required)body- (required)- Returns:
- CompletableFuture<TeamLinkResponse>
-
createTeamLinkWithHttpInfo
public ApiResponse<TeamLinkResponse> createTeamLinkWithHttpInfo(String teamId, TeamLinkCreateRequest body) throws ApiException Add a new link to a team.- Parameters:
teamId- None (required)body- (required)- Returns:
- ApiResponse<TeamLinkResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 403 Forbidden - 404 API error response. - 422 API error response. - 429 Too many requests -
-
createTeamLinkWithHttpInfoAsync
public CompletableFuture<ApiResponse<TeamLinkResponse>> createTeamLinkWithHttpInfoAsync(String teamId, TeamLinkCreateRequest body) Create a team link.See
createTeamLinkWithHttpInfo(java.lang.String, com.datadog.api.client.v2.model.TeamLinkCreateRequest).- Parameters:
teamId- None (required)body- (required)- Returns:
- CompletableFuture<ApiResponse<TeamLinkResponse>>
-
createTeamMembership
public UserTeamResponse createTeamMembership(String teamId, UserTeamRequest body) throws ApiException Add a user to a team.See
createTeamMembershipWithHttpInfo(java.lang.String, com.datadog.api.client.v2.model.UserTeamRequest).- Parameters:
teamId- None (required)body- (required)- Returns:
- UserTeamResponse
- Throws:
ApiException- if fails to make API call
-
createTeamMembershipAsync
public CompletableFuture<UserTeamResponse> createTeamMembershipAsync(String teamId, UserTeamRequest body) Add a user to a team.- Parameters:
teamId- None (required)body- (required)- Returns:
- CompletableFuture<UserTeamResponse>
-
createTeamMembershipWithHttpInfo
public ApiResponse<UserTeamResponse> createTeamMembershipWithHttpInfo(String teamId, UserTeamRequest body) throws ApiException Add a user to a team.Note: Each team has a setting that determines who is allowed to modify membership of the team. The
user_access_managepermission generally grants access to modify membership of any team. To get the full picture, see Team Membership documentation.- Parameters:
teamId- None (required)body- (required)- Returns:
- ApiResponse<UserTeamResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 Represents a user's association to a team - 403 Forbidden - 404 API error response. - 409 API error response. - 429 Too many requests -
-
createTeamMembershipWithHttpInfoAsync
public CompletableFuture<ApiResponse<UserTeamResponse>> createTeamMembershipWithHttpInfoAsync(String teamId, UserTeamRequest body) Add a user to a team.See
createTeamMembershipWithHttpInfo(java.lang.String, com.datadog.api.client.v2.model.UserTeamRequest).- Parameters:
teamId- None (required)body- (required)- Returns:
- CompletableFuture<ApiResponse<UserTeamResponse>>
-
createTeamNotificationRule
public TeamNotificationRuleResponse createTeamNotificationRule(String teamId, TeamNotificationRuleRequest body) throws ApiException Create team notification rule.- Parameters:
teamId- None (required)body- (required)- Returns:
- TeamNotificationRuleResponse
- Throws:
ApiException- if fails to make API call
-
createTeamNotificationRuleAsync
public CompletableFuture<TeamNotificationRuleResponse> createTeamNotificationRuleAsync(String teamId, TeamNotificationRuleRequest body) Create team notification rule.- Parameters:
teamId- None (required)body- (required)- Returns:
- CompletableFuture<TeamNotificationRuleResponse>
-
createTeamNotificationRuleWithHttpInfo
public ApiResponse<TeamNotificationRuleResponse> createTeamNotificationRuleWithHttpInfo(String teamId, TeamNotificationRuleRequest body) throws ApiException - Parameters:
teamId- None (required)body- (required)- Returns:
- ApiResponse<TeamNotificationRuleResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 201 OK - 403 Forbidden - 404 API error response. - 409 API error response. - 429 Too many requests -
-
createTeamNotificationRuleWithHttpInfoAsync
public CompletableFuture<ApiResponse<TeamNotificationRuleResponse>> createTeamNotificationRuleWithHttpInfoAsync(String teamId, TeamNotificationRuleRequest body) Create team notification rule.- Parameters:
teamId- None (required)body- (required)- Returns:
- CompletableFuture<ApiResponse<TeamNotificationRuleResponse>>
-
deleteTeam
Remove a team.- Parameters:
teamId- None (required)- Throws:
ApiException- if fails to make API call
-
deleteTeamAsync
Remove a team.- Parameters:
teamId- None (required)- Returns:
- CompletableFuture
-
deleteTeamWithHttpInfo
Remove a team using the team'sid.- Parameters:
teamId- None (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 204 No Content - 403 Forbidden - 404 API error response. - 429 Too many requests -
-
deleteTeamWithHttpInfoAsync
Remove a team.- Parameters:
teamId- None (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
deleteTeamConnections
Delete team connections.See
deleteTeamConnectionsWithHttpInfo(com.datadog.api.client.v2.model.TeamConnectionDeleteRequest).- Parameters:
body- (required)- Throws:
ApiException- if fails to make API call
-
deleteTeamConnectionsAsync
Delete team connections.See
deleteTeamConnectionsWithHttpInfoAsync(com.datadog.api.client.v2.model.TeamConnectionDeleteRequest).- Parameters:
body- (required)- Returns:
- CompletableFuture
-
deleteTeamConnectionsWithHttpInfo
public ApiResponse<Void> deleteTeamConnectionsWithHttpInfo(TeamConnectionDeleteRequest body) throws ApiException Delete multiple team connections.- Parameters:
body- (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 204 No Content - 400 Bad Request - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
deleteTeamConnectionsWithHttpInfoAsync
public CompletableFuture<ApiResponse<Void>> deleteTeamConnectionsWithHttpInfoAsync(TeamConnectionDeleteRequest body) Delete team connections.See
deleteTeamConnectionsWithHttpInfo(com.datadog.api.client.v2.model.TeamConnectionDeleteRequest).- Parameters:
body- (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
deleteTeamLink
Remove a team link.See
deleteTeamLinkWithHttpInfo(java.lang.String, java.lang.String).- Parameters:
teamId- None (required)linkId- None (required)- Throws:
ApiException- if fails to make API call
-
deleteTeamLinkAsync
Remove a team link.See
deleteTeamLinkWithHttpInfoAsync(java.lang.String, java.lang.String).- Parameters:
teamId- None (required)linkId- None (required)- Returns:
- CompletableFuture
-
deleteTeamLinkWithHttpInfo
public ApiResponse<Void> deleteTeamLinkWithHttpInfo(String teamId, String linkId) throws ApiException Remove a link from a team.- Parameters:
teamId- None (required)linkId- None (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 204 No Content - 403 Forbidden - 404 API error response. - 429 Too many requests -
-
deleteTeamLinkWithHttpInfoAsync
public CompletableFuture<ApiResponse<Void>> deleteTeamLinkWithHttpInfoAsync(String teamId, String linkId) Remove a team link.See
deleteTeamLinkWithHttpInfo(java.lang.String, java.lang.String).- Parameters:
teamId- None (required)linkId- None (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
deleteTeamMembership
Remove a user from a team.See
deleteTeamMembershipWithHttpInfo(java.lang.String, java.lang.String).- Parameters:
teamId- None (required)userId- None (required)- Throws:
ApiException- if fails to make API call
-
deleteTeamMembershipAsync
Remove a user from a team.See
deleteTeamMembershipWithHttpInfoAsync(java.lang.String, java.lang.String).- Parameters:
teamId- None (required)userId- None (required)- Returns:
- CompletableFuture
-
deleteTeamMembershipWithHttpInfo
public ApiResponse<Void> deleteTeamMembershipWithHttpInfo(String teamId, String userId) throws ApiException Remove a user from a team.Note: Each team has a setting that determines who is allowed to modify membership of the team. The
user_access_managepermission generally grants access to modify membership of any team. To get the full picture, see Team Membership documentation.- Parameters:
teamId- None (required)userId- None (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 204 No Content - 403 Forbidden - 404 API error response. - 429 Too many requests -
-
deleteTeamMembershipWithHttpInfoAsync
public CompletableFuture<ApiResponse<Void>> deleteTeamMembershipWithHttpInfoAsync(String teamId, String userId) Remove a user from a team.See
deleteTeamMembershipWithHttpInfo(java.lang.String, java.lang.String).- Parameters:
teamId- None (required)userId- None (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
deleteTeamNotificationRule
Delete team notification rule.See
deleteTeamNotificationRuleWithHttpInfo(java.lang.String, java.lang.String).- Parameters:
teamId- None (required)ruleId- None (required)- Throws:
ApiException- if fails to make API call
-
deleteTeamNotificationRuleAsync
Delete team notification rule.See
deleteTeamNotificationRuleWithHttpInfoAsync(java.lang.String, java.lang.String).- Parameters:
teamId- None (required)ruleId- None (required)- Returns:
- CompletableFuture
-
deleteTeamNotificationRuleWithHttpInfo
public ApiResponse<Void> deleteTeamNotificationRuleWithHttpInfo(String teamId, String ruleId) throws ApiException - Parameters:
teamId- None (required)ruleId- None (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 204 No Content - 403 Forbidden - 404 API error response. - 429 Too many requests -
-
deleteTeamNotificationRuleWithHttpInfoAsync
public CompletableFuture<ApiResponse<Void>> deleteTeamNotificationRuleWithHttpInfoAsync(String teamId, String ruleId) Delete team notification rule.See
deleteTeamNotificationRuleWithHttpInfo(java.lang.String, java.lang.String).- Parameters:
teamId- None (required)ruleId- None (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
getTeam
Get a team.- Parameters:
teamId- None (required)- Returns:
- TeamResponse
- Throws:
ApiException- if fails to make API call
-
getTeamAsync
Get a team.- Parameters:
teamId- None (required)- Returns:
- CompletableFuture<TeamResponse>
-
getTeamWithHttpInfo
Get a single team using the team'sid.- Parameters:
teamId- None (required)- Returns:
- ApiResponse<TeamResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 403 Forbidden - 404 API error response. - 429 Too many requests -
-
getTeamWithHttpInfoAsync
Get a team.- Parameters:
teamId- None (required)- Returns:
- CompletableFuture<ApiResponse<TeamResponse>>
-
getTeamHierarchyLink
Get a team hierarchy link.- Parameters:
linkId- The team hierarchy link's identifier (required)- Returns:
- TeamHierarchyLinkResponse
- Throws:
ApiException- if fails to make API call
-
getTeamHierarchyLinkAsync
Get a team hierarchy link.See
getTeamHierarchyLinkWithHttpInfoAsync(java.lang.String).- Parameters:
linkId- The team hierarchy link's identifier (required)- Returns:
- CompletableFuture<TeamHierarchyLinkResponse>
-
getTeamHierarchyLinkWithHttpInfo
public ApiResponse<TeamHierarchyLinkResponse> getTeamHierarchyLinkWithHttpInfo(String linkId) throws ApiException Get a single team hierarchy link for the given link_id.- Parameters:
linkId- The team hierarchy link's identifier (required)- Returns:
- ApiResponse<TeamHierarchyLinkResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 403 Forbidden - 404 API error response. - 429 Too many requests -
-
getTeamHierarchyLinkWithHttpInfoAsync
public CompletableFuture<ApiResponse<TeamHierarchyLinkResponse>> getTeamHierarchyLinkWithHttpInfoAsync(String linkId) Get a team hierarchy link.- Parameters:
linkId- The team hierarchy link's identifier (required)- Returns:
- CompletableFuture<ApiResponse<TeamHierarchyLinkResponse>>
-
getTeamLink
Get a team link.See
getTeamLinkWithHttpInfo(java.lang.String, java.lang.String).- Parameters:
teamId- None (required)linkId- None (required)- Returns:
- TeamLinkResponse
- Throws:
ApiException- if fails to make API call
-
getTeamLinkAsync
Get a team link.See
getTeamLinkWithHttpInfoAsync(java.lang.String, java.lang.String).- Parameters:
teamId- None (required)linkId- None (required)- Returns:
- CompletableFuture<TeamLinkResponse>
-
getTeamLinkWithHttpInfo
public ApiResponse<TeamLinkResponse> getTeamLinkWithHttpInfo(String teamId, String linkId) throws ApiException Get a single link for a team.- Parameters:
teamId- None (required)linkId- None (required)- Returns:
- ApiResponse<TeamLinkResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 403 Forbidden - 404 API error response. - 429 Too many requests -
-
getTeamLinkWithHttpInfoAsync
public CompletableFuture<ApiResponse<TeamLinkResponse>> getTeamLinkWithHttpInfoAsync(String teamId, String linkId) Get a team link.See
getTeamLinkWithHttpInfo(java.lang.String, java.lang.String).- Parameters:
teamId- None (required)linkId- None (required)- Returns:
- CompletableFuture<ApiResponse<TeamLinkResponse>>
-
getTeamLinks
Get links for a team.- Parameters:
teamId- None (required)- Returns:
- TeamLinksResponse
- Throws:
ApiException- if fails to make API call
-
getTeamLinksAsync
Get links for a team.- Parameters:
teamId- None (required)- Returns:
- CompletableFuture<TeamLinksResponse>
-
getTeamLinksWithHttpInfo
Get all links for a given team.- Parameters:
teamId- None (required)- Returns:
- ApiResponse<TeamLinksResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 403 Forbidden - 404 API error response. - 429 Too many requests -
-
getTeamLinksWithHttpInfoAsync
public CompletableFuture<ApiResponse<TeamLinksResponse>> getTeamLinksWithHttpInfoAsync(String teamId) Get links for a team.- Parameters:
teamId- None (required)- Returns:
- CompletableFuture<ApiResponse<TeamLinksResponse>>
-
getTeamMemberships
Get team memberships.- Parameters:
teamId- None (required)- Returns:
- UserTeamsResponse
- Throws:
ApiException- if fails to make API call
-
getTeamMembershipsAsync
Get team memberships.- Parameters:
teamId- None (required)- Returns:
- CompletableFuture<UserTeamsResponse>
-
getTeamMemberships
public UserTeamsResponse getTeamMemberships(String teamId, TeamsApi.GetTeamMembershipsOptionalParameters parameters) throws ApiException Get team memberships.- Parameters:
teamId- None (required)parameters- Optional parameters for the request.- Returns:
- UserTeamsResponse
- Throws:
ApiException- if fails to make API call
-
getTeamMembershipsAsync
public CompletableFuture<UserTeamsResponse> getTeamMembershipsAsync(String teamId, TeamsApi.GetTeamMembershipsOptionalParameters parameters) Get team memberships.- Parameters:
teamId- None (required)parameters- Optional parameters for the request.- Returns:
- CompletableFuture<UserTeamsResponse>
-
getTeamMembershipsWithPagination
Get team memberships.- Parameters:
teamId- None (required)- Returns:
- PaginationIterable<UserTeam>
-
getTeamMembershipsWithPagination
public PaginationIterable<UserTeam> getTeamMembershipsWithPagination(String teamId, TeamsApi.GetTeamMembershipsOptionalParameters parameters) Get team memberships.- Parameters:
teamId- None (required)- Returns:
- UserTeamsResponse
-
getTeamMembershipsWithHttpInfo
public ApiResponse<UserTeamsResponse> getTeamMembershipsWithHttpInfo(String teamId, TeamsApi.GetTeamMembershipsOptionalParameters parameters) throws ApiException Get a paginated list of members for a team- Parameters:
teamId- None (required)parameters- Optional parameters for the request.- Returns:
- ApiResponse<UserTeamsResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 Represents a user's association to a team - 403 Forbidden - 404 API error response. - 429 Too many requests -
-
getTeamMembershipsWithHttpInfoAsync
public CompletableFuture<ApiResponse<UserTeamsResponse>> getTeamMembershipsWithHttpInfoAsync(String teamId, TeamsApi.GetTeamMembershipsOptionalParameters parameters) Get team memberships.- Parameters:
teamId- None (required)parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ApiResponse<UserTeamsResponse>>
-
getTeamNotificationRule
public TeamNotificationRuleResponse getTeamNotificationRule(String teamId, String ruleId) throws ApiException Get team notification rule.See
getTeamNotificationRuleWithHttpInfo(java.lang.String, java.lang.String).- Parameters:
teamId- None (required)ruleId- None (required)- Returns:
- TeamNotificationRuleResponse
- Throws:
ApiException- if fails to make API call
-
getTeamNotificationRuleAsync
public CompletableFuture<TeamNotificationRuleResponse> getTeamNotificationRuleAsync(String teamId, String ruleId) Get team notification rule.See
getTeamNotificationRuleWithHttpInfoAsync(java.lang.String, java.lang.String).- Parameters:
teamId- None (required)ruleId- None (required)- Returns:
- CompletableFuture<TeamNotificationRuleResponse>
-
getTeamNotificationRuleWithHttpInfo
public ApiResponse<TeamNotificationRuleResponse> getTeamNotificationRuleWithHttpInfo(String teamId, String ruleId) throws ApiException - Parameters:
teamId- None (required)ruleId- None (required)- Returns:
- ApiResponse<TeamNotificationRuleResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 403 Forbidden - 404 API error response. - 429 Too many requests -
-
getTeamNotificationRuleWithHttpInfoAsync
public CompletableFuture<ApiResponse<TeamNotificationRuleResponse>> getTeamNotificationRuleWithHttpInfoAsync(String teamId, String ruleId) Get team notification rule.See
getTeamNotificationRuleWithHttpInfo(java.lang.String, java.lang.String).- Parameters:
teamId- None (required)ruleId- None (required)- Returns:
- CompletableFuture<ApiResponse<TeamNotificationRuleResponse>>
-
getTeamNotificationRules
Get team notification rules.- Parameters:
teamId- None (required)- Returns:
- TeamNotificationRulesResponse
- Throws:
ApiException- if fails to make API call
-
getTeamNotificationRulesAsync
public CompletableFuture<TeamNotificationRulesResponse> getTeamNotificationRulesAsync(String teamId) Get team notification rules.See
getTeamNotificationRulesWithHttpInfoAsync(java.lang.String).- Parameters:
teamId- None (required)- Returns:
- CompletableFuture<TeamNotificationRulesResponse>
-
getTeamNotificationRulesWithHttpInfo
public ApiResponse<TeamNotificationRulesResponse> getTeamNotificationRulesWithHttpInfo(String teamId) throws ApiException - Parameters:
teamId- None (required)- Returns:
- ApiResponse<TeamNotificationRulesResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 403 Forbidden - 404 API error response. - 429 Too many requests -
-
getTeamNotificationRulesWithHttpInfoAsync
public CompletableFuture<ApiResponse<TeamNotificationRulesResponse>> getTeamNotificationRulesWithHttpInfoAsync(String teamId) Get team notification rules.- Parameters:
teamId- None (required)- Returns:
- CompletableFuture<ApiResponse<TeamNotificationRulesResponse>>
-
getTeamPermissionSettings
Get permission settings for a team.See
getTeamPermissionSettingsWithHttpInfo(java.lang.String).- Parameters:
teamId- None (required)- Returns:
- TeamPermissionSettingsResponse
- Throws:
ApiException- if fails to make API call
-
getTeamPermissionSettingsAsync
public CompletableFuture<TeamPermissionSettingsResponse> getTeamPermissionSettingsAsync(String teamId) Get permission settings for a team.See
getTeamPermissionSettingsWithHttpInfoAsync(java.lang.String).- Parameters:
teamId- None (required)- Returns:
- CompletableFuture<TeamPermissionSettingsResponse>
-
getTeamPermissionSettingsWithHttpInfo
public ApiResponse<TeamPermissionSettingsResponse> getTeamPermissionSettingsWithHttpInfo(String teamId) throws ApiException Get all permission settings for a given team.- Parameters:
teamId- None (required)- Returns:
- ApiResponse<TeamPermissionSettingsResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 403 Forbidden - 404 API error response. - 429 Too many requests -
-
getTeamPermissionSettingsWithHttpInfoAsync
public CompletableFuture<ApiResponse<TeamPermissionSettingsResponse>> getTeamPermissionSettingsWithHttpInfoAsync(String teamId) Get permission settings for a team.See
getTeamPermissionSettingsWithHttpInfo(java.lang.String).- Parameters:
teamId- None (required)- Returns:
- CompletableFuture<ApiResponse<TeamPermissionSettingsResponse>>
-
getTeamSync
Get team sync configurations.See
getTeamSyncWithHttpInfo(com.datadog.api.client.v2.model.TeamSyncAttributesSource).- Parameters:
filterSource- Filter by the external source platform for team synchronization (required)- Returns:
- TeamSyncResponse
- Throws:
ApiException- if fails to make API call
-
getTeamSyncAsync
Get team sync configurations.See
getTeamSyncWithHttpInfoAsync(com.datadog.api.client.v2.model.TeamSyncAttributesSource).- Parameters:
filterSource- Filter by the external source platform for team synchronization (required)- Returns:
- CompletableFuture<TeamSyncResponse>
-
getTeamSyncWithHttpInfo
public ApiResponse<TeamSyncResponse> getTeamSyncWithHttpInfo(TeamSyncAttributesSource filterSource) throws ApiException Get all team synchronization configurations. Returns a list of configurations used for linking or provisioning teams with external sources like GitHub.- Parameters:
filterSource- Filter by the external source platform for team synchronization (required)- Returns:
- ApiResponse<TeamSyncResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 403 Forbidden - 429 Too many requests -
-
getTeamSyncWithHttpInfoAsync
public CompletableFuture<ApiResponse<TeamSyncResponse>> getTeamSyncWithHttpInfoAsync(TeamSyncAttributesSource filterSource) Get team sync configurations.See
getTeamSyncWithHttpInfo(com.datadog.api.client.v2.model.TeamSyncAttributesSource).- Parameters:
filterSource- Filter by the external source platform for team synchronization (required)- Returns:
- CompletableFuture<ApiResponse<TeamSyncResponse>>
-
getUserMemberships
Get user memberships.- Parameters:
userUuid- None (required)- Returns:
- UserTeamsResponse
- Throws:
ApiException- if fails to make API call
-
getUserMembershipsAsync
Get user memberships.- Parameters:
userUuid- None (required)- Returns:
- CompletableFuture<UserTeamsResponse>
-
getUserMembershipsWithHttpInfo
public ApiResponse<UserTeamsResponse> getUserMembershipsWithHttpInfo(String userUuid) throws ApiException Get a list of memberships for a user- Parameters:
userUuid- None (required)- Returns:
- ApiResponse<UserTeamsResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 Represents a user's association to a team - 404 API error response. - 429 Too many requests -
-
getUserMembershipsWithHttpInfoAsync
public CompletableFuture<ApiResponse<UserTeamsResponse>> getUserMembershipsWithHttpInfoAsync(String userUuid) Get user memberships.- Parameters:
userUuid- None (required)- Returns:
- CompletableFuture<ApiResponse<UserTeamsResponse>>
-
listMemberTeams
Deprecated.Get all member teams.- Parameters:
superTeamId- None (required)- Returns:
- TeamsResponse
- Throws:
ApiException- if fails to make API call
-
listMemberTeamsAsync
Deprecated.Get all member teams.- Parameters:
superTeamId- None (required)- Returns:
- CompletableFuture<TeamsResponse>
-
listMemberTeams
@Deprecated public TeamsResponse listMemberTeams(String superTeamId, TeamsApi.ListMemberTeamsOptionalParameters parameters) throws ApiException Deprecated.Get all member teams.- Parameters:
superTeamId- None (required)parameters- Optional parameters for the request.- Returns:
- TeamsResponse
- Throws:
ApiException- if fails to make API call
-
listMemberTeamsAsync
@Deprecated public CompletableFuture<TeamsResponse> listMemberTeamsAsync(String superTeamId, TeamsApi.ListMemberTeamsOptionalParameters parameters) Deprecated.Get all member teams.- Parameters:
superTeamId- None (required)parameters- Optional parameters for the request.- Returns:
- CompletableFuture<TeamsResponse>
-
listMemberTeamsWithPagination
Deprecated.Get all member teams.- Parameters:
superTeamId- None (required)- Returns:
- PaginationIterable<Team>
-
listMemberTeamsWithPagination
@Deprecated public PaginationIterable<Team> listMemberTeamsWithPagination(String superTeamId, TeamsApi.ListMemberTeamsOptionalParameters parameters) Deprecated.Get all member teams.- Parameters:
superTeamId- None (required)- Returns:
- TeamsResponse
-
listMemberTeamsWithHttpInfo
@Deprecated public ApiResponse<TeamsResponse> listMemberTeamsWithHttpInfo(String superTeamId, TeamsApi.ListMemberTeamsOptionalParameters parameters) throws ApiException Deprecated.Get all member teams.Note: This API is deprecated. For team hierarchy relationships (parent-child teams), use the team hierarchy links API:
GET /api/v2/team-hierarchy-links.- Parameters:
superTeamId- None (required)parameters- Optional parameters for the request.- Returns:
- ApiResponse<TeamsResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 403 Forbidden - 404 API error response. - 429 Too many requests -
-
listMemberTeamsWithHttpInfoAsync
@Deprecated public CompletableFuture<ApiResponse<TeamsResponse>> listMemberTeamsWithHttpInfoAsync(String superTeamId, TeamsApi.ListMemberTeamsOptionalParameters parameters) Deprecated.Get all member teams.- Parameters:
superTeamId- None (required)parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ApiResponse<TeamsResponse>>
-
listTeamConnections
List team connections.- Returns:
- TeamConnectionsResponse
- Throws:
ApiException- if fails to make API call
-
listTeamConnectionsAsync
List team connections.- Returns:
- CompletableFuture<TeamConnectionsResponse>
-
listTeamConnections
public TeamConnectionsResponse listTeamConnections(TeamsApi.ListTeamConnectionsOptionalParameters parameters) throws ApiException List team connections.- Parameters:
parameters- Optional parameters for the request.- Returns:
- TeamConnectionsResponse
- Throws:
ApiException- if fails to make API call
-
listTeamConnectionsAsync
public CompletableFuture<TeamConnectionsResponse> listTeamConnectionsAsync(TeamsApi.ListTeamConnectionsOptionalParameters parameters) List team connections.- Parameters:
parameters- Optional parameters for the request.- Returns:
- CompletableFuture<TeamConnectionsResponse>
-
listTeamConnectionsWithPagination
List team connections.- Returns:
- PaginationIterable<TeamConnection>
-
listTeamConnectionsWithPagination
public PaginationIterable<TeamConnection> listTeamConnectionsWithPagination(TeamsApi.ListTeamConnectionsOptionalParameters parameters) List team connections.- Returns:
- TeamConnectionsResponse
-
listTeamConnectionsWithHttpInfo
public ApiResponse<TeamConnectionsResponse> listTeamConnectionsWithHttpInfo(TeamsApi.ListTeamConnectionsOptionalParameters parameters) throws ApiException Returns all team connections.- Parameters:
parameters- Optional parameters for the request.- Returns:
- ApiResponse<TeamConnectionsResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 403 Forbidden - 429 Too many requests -
-
listTeamConnectionsWithHttpInfoAsync
public CompletableFuture<ApiResponse<TeamConnectionsResponse>> listTeamConnectionsWithHttpInfoAsync(TeamsApi.ListTeamConnectionsOptionalParameters parameters) List team connections.- Parameters:
parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ApiResponse<TeamConnectionsResponse>>
-
listTeamHierarchyLinks
Get team hierarchy links.- Returns:
- TeamHierarchyLinksResponse
- Throws:
ApiException- if fails to make API call
-
listTeamHierarchyLinksAsync
Get team hierarchy links.- Returns:
- CompletableFuture<TeamHierarchyLinksResponse>
-
listTeamHierarchyLinks
public TeamHierarchyLinksResponse listTeamHierarchyLinks(TeamsApi.ListTeamHierarchyLinksOptionalParameters parameters) throws ApiException Get team hierarchy links.- Parameters:
parameters- Optional parameters for the request.- Returns:
- TeamHierarchyLinksResponse
- Throws:
ApiException- if fails to make API call
-
listTeamHierarchyLinksAsync
public CompletableFuture<TeamHierarchyLinksResponse> listTeamHierarchyLinksAsync(TeamsApi.ListTeamHierarchyLinksOptionalParameters parameters) Get team hierarchy links.- Parameters:
parameters- Optional parameters for the request.- Returns:
- CompletableFuture<TeamHierarchyLinksResponse>
-
listTeamHierarchyLinksWithPagination
Get team hierarchy links.- Returns:
- PaginationIterable<TeamHierarchyLink>
-
listTeamHierarchyLinksWithPagination
public PaginationIterable<TeamHierarchyLink> listTeamHierarchyLinksWithPagination(TeamsApi.ListTeamHierarchyLinksOptionalParameters parameters) Get team hierarchy links.- Returns:
- TeamHierarchyLinksResponse
-
listTeamHierarchyLinksWithHttpInfo
public ApiResponse<TeamHierarchyLinksResponse> listTeamHierarchyLinksWithHttpInfo(TeamsApi.ListTeamHierarchyLinksOptionalParameters parameters) throws ApiException List all team hierarchy links that match the provided filters.- Parameters:
parameters- Optional parameters for the request.- Returns:
- ApiResponse<TeamHierarchyLinksResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 403 Forbidden - 429 Too many requests -
-
listTeamHierarchyLinksWithHttpInfoAsync
public CompletableFuture<ApiResponse<TeamHierarchyLinksResponse>> listTeamHierarchyLinksWithHttpInfoAsync(TeamsApi.ListTeamHierarchyLinksOptionalParameters parameters) Get team hierarchy links.- Parameters:
parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ApiResponse<TeamHierarchyLinksResponse>>
-
listTeams
Get all teams.See
listTeamsWithHttpInfo(com.datadog.api.client.v2.api.TeamsApi.ListTeamsOptionalParameters).- Returns:
- TeamsResponse
- Throws:
ApiException- if fails to make API call
-
listTeamsAsync
Get all teams.See
listTeamsWithHttpInfoAsync(com.datadog.api.client.v2.api.TeamsApi.ListTeamsOptionalParameters).- Returns:
- CompletableFuture<TeamsResponse>
-
listTeams
Get all teams.See
listTeamsWithHttpInfo(com.datadog.api.client.v2.api.TeamsApi.ListTeamsOptionalParameters).- Parameters:
parameters- Optional parameters for the request.- Returns:
- TeamsResponse
- Throws:
ApiException- if fails to make API call
-
listTeamsAsync
public CompletableFuture<TeamsResponse> listTeamsAsync(TeamsApi.ListTeamsOptionalParameters parameters) Get all teams.See
listTeamsWithHttpInfoAsync(com.datadog.api.client.v2.api.TeamsApi.ListTeamsOptionalParameters).- Parameters:
parameters- Optional parameters for the request.- Returns:
- CompletableFuture<TeamsResponse>
-
listTeamsWithPagination
Get all teams.See
listTeamsWithHttpInfo(com.datadog.api.client.v2.api.TeamsApi.ListTeamsOptionalParameters).- Returns:
- PaginationIterable<Team>
-
listTeamsWithPagination
public PaginationIterable<Team> listTeamsWithPagination(TeamsApi.ListTeamsOptionalParameters parameters) Get all teams.See
listTeamsWithHttpInfo(com.datadog.api.client.v2.api.TeamsApi.ListTeamsOptionalParameters).- Returns:
- TeamsResponse
-
listTeamsWithHttpInfo
public ApiResponse<TeamsResponse> listTeamsWithHttpInfo(TeamsApi.ListTeamsOptionalParameters parameters) throws ApiException Get all teams. Can be used to search for teams using thefilter[keyword]andfilter[me]query parameters.- Parameters:
parameters- Optional parameters for the request.- Returns:
- ApiResponse<TeamsResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 403 Forbidden - 429 Too many requests -
-
listTeamsWithHttpInfoAsync
public CompletableFuture<ApiResponse<TeamsResponse>> listTeamsWithHttpInfoAsync(TeamsApi.ListTeamsOptionalParameters parameters) Get all teams.See
listTeamsWithHttpInfo(com.datadog.api.client.v2.api.TeamsApi.ListTeamsOptionalParameters).- Parameters:
parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ApiResponse<TeamsResponse>>
-
removeMemberTeam
@Deprecated public void removeMemberTeam(String superTeamId, String memberTeamId) throws ApiException Deprecated.Remove a member team.See
removeMemberTeamWithHttpInfo(java.lang.String, java.lang.String).- Parameters:
superTeamId- None (required)memberTeamId- None (required)- Throws:
ApiException- if fails to make API call
-
removeMemberTeamAsync
@Deprecated public CompletableFuture<Void> removeMemberTeamAsync(String superTeamId, String memberTeamId) Deprecated.Remove a member team.See
removeMemberTeamWithHttpInfoAsync(java.lang.String, java.lang.String).- Parameters:
superTeamId- None (required)memberTeamId- None (required)- Returns:
- CompletableFuture
-
removeMemberTeamWithHttpInfo
@Deprecated public ApiResponse<Void> removeMemberTeamWithHttpInfo(String superTeamId, String memberTeamId) throws ApiException Deprecated.Remove a super team's member team identified bymember_team_id.Note: This API is deprecated. For deleting team hierarchy links, use the team hierarchy links API:
DELETE /api/v2/team-hierarchy-links/{link_id}.- Parameters:
superTeamId- None (required)memberTeamId- None (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 204 No Content - 403 Forbidden - 404 API error response. - 429 Too many requests -
-
removeMemberTeamWithHttpInfoAsync
@Deprecated public CompletableFuture<ApiResponse<Void>> removeMemberTeamWithHttpInfoAsync(String superTeamId, String memberTeamId) Deprecated.Remove a member team.See
removeMemberTeamWithHttpInfo(java.lang.String, java.lang.String).- Parameters:
superTeamId- None (required)memberTeamId- None (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
removeTeamHierarchyLink
Remove a team hierarchy link.- Parameters:
linkId- The team hierarchy link's identifier (required)- Throws:
ApiException- if fails to make API call
-
removeTeamHierarchyLinkAsync
Remove a team hierarchy link.See
removeTeamHierarchyLinkWithHttpInfoAsync(java.lang.String).- Parameters:
linkId- The team hierarchy link's identifier (required)- Returns:
- CompletableFuture
-
removeTeamHierarchyLinkWithHttpInfo
Remove a team hierarchy link by the given link_id.- Parameters:
linkId- The team hierarchy link's identifier (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 204 No Content - 403 Forbidden - 404 API error response. - 429 Too many requests -
-
removeTeamHierarchyLinkWithHttpInfoAsync
Remove a team hierarchy link.- Parameters:
linkId- The team hierarchy link's identifier (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
syncTeams
Link Teams with GitHub Teams.See
syncTeamsWithHttpInfo(com.datadog.api.client.v2.model.TeamSyncRequest).- Parameters:
body- (required)- Throws:
ApiException- if fails to make API call
-
syncTeamsAsync
Link Teams with GitHub Teams.See
syncTeamsWithHttpInfoAsync(com.datadog.api.client.v2.model.TeamSyncRequest).- Parameters:
body- (required)- Returns:
- CompletableFuture
-
syncTeamsWithHttpInfo
This endpoint configures synchronization between your existing Datadog teams and GitHub teams by matching their names. It evaluates all current Datadog teams and compares them against teams in the GitHub organization connected to your Datadog account, based on Datadog Team handle and GitHub Team slug (lowercased and kebab-cased).This operation is read-only on the GitHub side, no teams will be modified or created.
Optionally, provide
selection_stateto limit synchronization to specific teams or organizations and their subtrees, instead of syncing all teams.A GitHub organization must be connected to your Datadog account, and the GitHub App integrated with Datadog must have the
Members Readpermission. Matching is performed by comparing the Datadog team handle to the GitHub team slug using a normalized exact match; case is ignored and spaces are removed. No modifications are made to teams in GitHub. This only creates new teams in Datadog when type is set toprovision.- Parameters:
body- (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 204 No Content - 403 Forbidden - 429 Too many requests - 500 Internal Server Error - Unexpected error during linking. -
-
syncTeamsWithHttpInfoAsync
Link Teams with GitHub Teams.See
syncTeamsWithHttpInfo(com.datadog.api.client.v2.model.TeamSyncRequest).- Parameters:
body- (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
updateTeam
Update a team.See
updateTeamWithHttpInfo(java.lang.String, com.datadog.api.client.v2.model.TeamUpdateRequest).- Parameters:
teamId- None (required)body- (required)- Returns:
- TeamResponse
- Throws:
ApiException- if fails to make API call
-
updateTeamAsync
Update a team.See
updateTeamWithHttpInfoAsync(java.lang.String, com.datadog.api.client.v2.model.TeamUpdateRequest).- Parameters:
teamId- None (required)body- (required)- Returns:
- CompletableFuture<TeamResponse>
-
updateTeamWithHttpInfo
public ApiResponse<TeamResponse> updateTeamWithHttpInfo(String teamId, TeamUpdateRequest body) throws ApiException Update a team using the team'sid. If theteam_linksrelationship is present, the associated links are updated to be in the order they appear in the array, and any existing team links not present are removed.- Parameters:
teamId- None (required)body- (required)- Returns:
- ApiResponse<TeamResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 API error response. - 403 Forbidden - 404 API error response. - 409 API error response. - 429 Too many requests -
-
updateTeamWithHttpInfoAsync
public CompletableFuture<ApiResponse<TeamResponse>> updateTeamWithHttpInfoAsync(String teamId, TeamUpdateRequest body) Update a team.See
updateTeamWithHttpInfo(java.lang.String, com.datadog.api.client.v2.model.TeamUpdateRequest).- Parameters:
teamId- None (required)body- (required)- Returns:
- CompletableFuture<ApiResponse<TeamResponse>>
-
updateTeamLink
public TeamLinkResponse updateTeamLink(String teamId, String linkId, TeamLinkCreateRequest body) throws ApiException Update a team link.- Parameters:
teamId- None (required)linkId- None (required)body- (required)- Returns:
- TeamLinkResponse
- Throws:
ApiException- if fails to make API call
-
updateTeamLinkAsync
public CompletableFuture<TeamLinkResponse> updateTeamLinkAsync(String teamId, String linkId, TeamLinkCreateRequest body) Update a team link.- Parameters:
teamId- None (required)linkId- None (required)body- (required)- Returns:
- CompletableFuture<TeamLinkResponse>
-
updateTeamLinkWithHttpInfo
public ApiResponse<TeamLinkResponse> updateTeamLinkWithHttpInfo(String teamId, String linkId, TeamLinkCreateRequest body) throws ApiException Update a team link.- Parameters:
teamId- None (required)linkId- None (required)body- (required)- Returns:
- ApiResponse<TeamLinkResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 403 Forbidden - 404 API error response. - 429 Too many requests -
-
updateTeamLinkWithHttpInfoAsync
public CompletableFuture<ApiResponse<TeamLinkResponse>> updateTeamLinkWithHttpInfoAsync(String teamId, String linkId, TeamLinkCreateRequest body) Update a team link.- Parameters:
teamId- None (required)linkId- None (required)body- (required)- Returns:
- CompletableFuture<ApiResponse<TeamLinkResponse>>
-
updateTeamMembership
public UserTeamResponse updateTeamMembership(String teamId, String userId, UserTeamUpdateRequest body) throws ApiException Update a user's membership attributes on a team.- Parameters:
teamId- None (required)userId- None (required)body- (required)- Returns:
- UserTeamResponse
- Throws:
ApiException- if fails to make API call
-
updateTeamMembershipAsync
public CompletableFuture<UserTeamResponse> updateTeamMembershipAsync(String teamId, String userId, UserTeamUpdateRequest body) Update a user's membership attributes on a team.- Parameters:
teamId- None (required)userId- None (required)body- (required)- Returns:
- CompletableFuture<UserTeamResponse>
-
updateTeamMembershipWithHttpInfo
public ApiResponse<UserTeamResponse> updateTeamMembershipWithHttpInfo(String teamId, String userId, UserTeamUpdateRequest body) throws ApiException Update a user's membership attributes on a team.Note: Each team has a setting that determines who is allowed to modify membership of the team. The
user_access_managepermission generally grants access to modify membership of any team. To get the full picture, see Team Membership documentation.- Parameters:
teamId- None (required)userId- None (required)body- (required)- Returns:
- ApiResponse<UserTeamResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 API error response. - 403 Forbidden - 404 API error response. - 429 Too many requests -
-
updateTeamMembershipWithHttpInfoAsync
public CompletableFuture<ApiResponse<UserTeamResponse>> updateTeamMembershipWithHttpInfoAsync(String teamId, String userId, UserTeamUpdateRequest body) Update a user's membership attributes on a team.- Parameters:
teamId- None (required)userId- None (required)body- (required)- Returns:
- CompletableFuture<ApiResponse<UserTeamResponse>>
-
updateTeamNotificationRule
public TeamNotificationRuleResponse updateTeamNotificationRule(String teamId, String ruleId, TeamNotificationRuleRequest body) throws ApiException Update team notification rule.- Parameters:
teamId- None (required)ruleId- None (required)body- (required)- Returns:
- TeamNotificationRuleResponse
- Throws:
ApiException- if fails to make API call
-
updateTeamNotificationRuleAsync
public CompletableFuture<TeamNotificationRuleResponse> updateTeamNotificationRuleAsync(String teamId, String ruleId, TeamNotificationRuleRequest body) Update team notification rule.- Parameters:
teamId- None (required)ruleId- None (required)body- (required)- Returns:
- CompletableFuture<TeamNotificationRuleResponse>
-
updateTeamNotificationRuleWithHttpInfo
public ApiResponse<TeamNotificationRuleResponse> updateTeamNotificationRuleWithHttpInfo(String teamId, String ruleId, TeamNotificationRuleRequest body) throws ApiException - Parameters:
teamId- None (required)ruleId- None (required)body- (required)- Returns:
- ApiResponse<TeamNotificationRuleResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 403 Forbidden - 404 API error response. - 429 Too many requests -
-
updateTeamNotificationRuleWithHttpInfoAsync
public CompletableFuture<ApiResponse<TeamNotificationRuleResponse>> updateTeamNotificationRuleWithHttpInfoAsync(String teamId, String ruleId, TeamNotificationRuleRequest body) Update team notification rule.- Parameters:
teamId- None (required)ruleId- None (required)body- (required)- Returns:
- CompletableFuture<ApiResponse<TeamNotificationRuleResponse>>
-
updateTeamPermissionSetting
public TeamPermissionSettingResponse updateTeamPermissionSetting(String teamId, String action, TeamPermissionSettingUpdateRequest body) throws ApiException Update permission setting for team.- Parameters:
teamId- None (required)action- None (required)body- (required)- Returns:
- TeamPermissionSettingResponse
- Throws:
ApiException- if fails to make API call
-
updateTeamPermissionSettingAsync
public CompletableFuture<TeamPermissionSettingResponse> updateTeamPermissionSettingAsync(String teamId, String action, TeamPermissionSettingUpdateRequest body) Update permission setting for team.- Parameters:
teamId- None (required)action- None (required)body- (required)- Returns:
- CompletableFuture<TeamPermissionSettingResponse>
-
updateTeamPermissionSettingWithHttpInfo
public ApiResponse<TeamPermissionSettingResponse> updateTeamPermissionSettingWithHttpInfo(String teamId, String action, TeamPermissionSettingUpdateRequest body) throws ApiException Update a team permission setting for a given team.- Parameters:
teamId- None (required)action- None (required)body- (required)- Returns:
- ApiResponse<TeamPermissionSettingResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 403 Forbidden - 404 API error response. - 429 Too many requests -
-
updateTeamPermissionSettingWithHttpInfoAsync
public CompletableFuture<ApiResponse<TeamPermissionSettingResponse>> updateTeamPermissionSettingWithHttpInfoAsync(String teamId, String action, TeamPermissionSettingUpdateRequest body) Update permission setting for team.- Parameters:
teamId- None (required)action- None (required)body- (required)- Returns:
- CompletableFuture<ApiResponse<TeamPermissionSettingResponse>>
-