@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class TeamsApi extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TeamsApi.GetTeamMembershipsOptionalParameters
Manage optional parameters to getTeamMemberships.
|
static class |
TeamsApi.ListMemberTeamsOptionalParameters
Manage optional parameters to listMemberTeams.
|
static class |
TeamsApi.ListTeamConnectionsOptionalParameters
Manage optional parameters to listTeamConnections.
|
static class |
TeamsApi.ListTeamHierarchyLinksOptionalParameters
Manage optional parameters to listTeamHierarchyLinks.
|
static class |
TeamsApi.ListTeamsOptionalParameters
Manage optional parameters to listTeams.
|
| Constructor and Description |
|---|
TeamsApi() |
TeamsApi(ApiClient apiClient) |
public TeamsApi()
public TeamsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - an instance of API client@Deprecated public void addMemberTeam(String superTeamId, AddMemberTeamRequest body) throws ApiException
See addMemberTeamWithHttpInfo(java.lang.String, com.datadog.api.client.v2.model.AddMemberTeamRequest).
superTeamId - None (required)body - (required)ApiException - if fails to make API call@Deprecated public CompletableFuture<Void> addMemberTeamAsync(String superTeamId, AddMemberTeamRequest body)
superTeamId - None (required)body - (required)@Deprecated public ApiResponse<Void> addMemberTeamWithHttpInfo(String superTeamId, AddMemberTeamRequest body) throws ApiException
id in 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.
superTeamId - None (required)body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 204 | Added | - |
| 403 | Forbidden | - |
| 409 | API error response. | - |
| 429 | Too many requests | - |
@Deprecated public CompletableFuture<ApiResponse<Void>> addMemberTeamWithHttpInfoAsync(String superTeamId, AddMemberTeamRequest body)
See addMemberTeamWithHttpInfo(java.lang.String, com.datadog.api.client.v2.model.AddMemberTeamRequest).
superTeamId - None (required)body - (required)public TeamHierarchyLinkResponse addTeamHierarchyLink(TeamHierarchyLinkCreateRequest body) throws ApiException
See addTeamHierarchyLinkWithHttpInfo(com.datadog.api.client.v2.model.TeamHierarchyLinkCreateRequest).
body - (required)ApiException - if fails to make API callpublic CompletableFuture<TeamHierarchyLinkResponse> addTeamHierarchyLinkAsync(TeamHierarchyLinkCreateRequest body)
body - (required)public ApiResponse<TeamHierarchyLinkResponse> addTeamHierarchyLinkWithHttpInfo(TeamHierarchyLinkCreateRequest body) throws ApiException
body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 403 | Forbidden | - |
| 409 | Conflict | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<TeamHierarchyLinkResponse>> addTeamHierarchyLinkWithHttpInfoAsync(TeamHierarchyLinkCreateRequest body)
See addTeamHierarchyLinkWithHttpInfo(com.datadog.api.client.v2.model.TeamHierarchyLinkCreateRequest).
body - (required)public TeamResponse createTeam(TeamCreateRequest body) throws ApiException
See createTeamWithHttpInfo(com.datadog.api.client.v2.model.TeamCreateRequest).
body - (required)ApiException - if fails to make API callpublic CompletableFuture<TeamResponse> createTeamAsync(TeamCreateRequest body)
See createTeamWithHttpInfoAsync(com.datadog.api.client.v2.model.TeamCreateRequest).
body - (required)public ApiResponse<TeamResponse> createTeamWithHttpInfo(TeamCreateRequest body) throws ApiException
users relationship field are added
to the team.body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 201 | CREATED | - |
| 403 | Forbidden | - |
| 409 | API error response. | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<TeamResponse>> createTeamWithHttpInfoAsync(TeamCreateRequest body)
See createTeamWithHttpInfo(com.datadog.api.client.v2.model.TeamCreateRequest).
body - (required)public TeamConnectionsResponse createTeamConnections(TeamConnectionCreateRequest body) throws ApiException
See createTeamConnectionsWithHttpInfo(com.datadog.api.client.v2.model.TeamConnectionCreateRequest).
body - (required)ApiException - if fails to make API callpublic CompletableFuture<TeamConnectionsResponse> createTeamConnectionsAsync(TeamConnectionCreateRequest body)
See createTeamConnectionsWithHttpInfoAsync(com.datadog.api.client.v2.model.TeamConnectionCreateRequest).
body - (required)public ApiResponse<TeamConnectionsResponse> createTeamConnectionsWithHttpInfo(TeamConnectionCreateRequest body) throws ApiException
body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 201 | Created | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 409 | Conflict | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<TeamConnectionsResponse>> createTeamConnectionsWithHttpInfoAsync(TeamConnectionCreateRequest body)
See createTeamConnectionsWithHttpInfo(com.datadog.api.client.v2.model.TeamConnectionCreateRequest).
body - (required)public TeamLinkResponse createTeamLink(String teamId, TeamLinkCreateRequest body) throws ApiException
See createTeamLinkWithHttpInfo(java.lang.String, com.datadog.api.client.v2.model.TeamLinkCreateRequest).
teamId - None (required)body - (required)ApiException - if fails to make API callpublic CompletableFuture<TeamLinkResponse> createTeamLinkAsync(String teamId, TeamLinkCreateRequest body)
teamId - None (required)body - (required)public ApiResponse<TeamLinkResponse> createTeamLinkWithHttpInfo(String teamId, TeamLinkCreateRequest body) throws ApiException
teamId - None (required)body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 403 | Forbidden | - |
| 404 | API error response. | - |
| 422 | API error response. | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<TeamLinkResponse>> createTeamLinkWithHttpInfoAsync(String teamId, TeamLinkCreateRequest body)
See createTeamLinkWithHttpInfo(java.lang.String, com.datadog.api.client.v2.model.TeamLinkCreateRequest).
teamId - None (required)body - (required)public UserTeamResponse createTeamMembership(String teamId, UserTeamRequest body) throws ApiException
See createTeamMembershipWithHttpInfo(java.lang.String, com.datadog.api.client.v2.model.UserTeamRequest).
teamId - None (required)body - (required)ApiException - if fails to make API callpublic CompletableFuture<UserTeamResponse> createTeamMembershipAsync(String teamId, UserTeamRequest body)
teamId - None (required)body - (required)public ApiResponse<UserTeamResponse> createTeamMembershipWithHttpInfo(String teamId, UserTeamRequest body) throws ApiException
Note: Each team has a setting that determines who is allowed to modify
membership of the team. The user_access_manage permission generally grants access
to modify membership of any team. To get the full picture, see Team
Membership documentation.
teamId - None (required)body - (required)ApiException - if fails to make API call| 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 | - |
public CompletableFuture<ApiResponse<UserTeamResponse>> createTeamMembershipWithHttpInfoAsync(String teamId, UserTeamRequest body)
See createTeamMembershipWithHttpInfo(java.lang.String, com.datadog.api.client.v2.model.UserTeamRequest).
teamId - None (required)body - (required)public TeamNotificationRuleResponse createTeamNotificationRule(String teamId, TeamNotificationRuleRequest body) throws ApiException
teamId - None (required)body - (required)ApiException - if fails to make API callpublic CompletableFuture<TeamNotificationRuleResponse> createTeamNotificationRuleAsync(String teamId, TeamNotificationRuleRequest body)
teamId - None (required)body - (required)public ApiResponse<TeamNotificationRuleResponse> createTeamNotificationRuleWithHttpInfo(String teamId, TeamNotificationRuleRequest body) throws ApiException
teamId - None (required)body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 201 | OK | - |
| 403 | Forbidden | - |
| 404 | API error response. | - |
| 409 | API error response. | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<TeamNotificationRuleResponse>> createTeamNotificationRuleWithHttpInfoAsync(String teamId, TeamNotificationRuleRequest body)
teamId - None (required)body - (required)public void deleteTeam(String teamId) throws ApiException
teamId - None (required)ApiException - if fails to make API callpublic CompletableFuture<Void> deleteTeamAsync(String teamId)
teamId - None (required)public ApiResponse<Void> deleteTeamWithHttpInfo(String teamId) throws ApiException
id.teamId - None (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 204 | No Content | - |
| 403 | Forbidden | - |
| 404 | API error response. | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Void>> deleteTeamWithHttpInfoAsync(String teamId)
teamId - None (required)public void deleteTeamConnections(TeamConnectionDeleteRequest body) throws ApiException
See deleteTeamConnectionsWithHttpInfo(com.datadog.api.client.v2.model.TeamConnectionDeleteRequest).
body - (required)ApiException - if fails to make API callpublic CompletableFuture<Void> deleteTeamConnectionsAsync(TeamConnectionDeleteRequest body)
See deleteTeamConnectionsWithHttpInfoAsync(com.datadog.api.client.v2.model.TeamConnectionDeleteRequest).
body - (required)public ApiResponse<Void> deleteTeamConnectionsWithHttpInfo(TeamConnectionDeleteRequest body) throws ApiException
body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 204 | No Content | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Void>> deleteTeamConnectionsWithHttpInfoAsync(TeamConnectionDeleteRequest body)
See deleteTeamConnectionsWithHttpInfo(com.datadog.api.client.v2.model.TeamConnectionDeleteRequest).
body - (required)public void deleteTeamLink(String teamId, String linkId) throws ApiException
See deleteTeamLinkWithHttpInfo(java.lang.String, java.lang.String).
teamId - None (required)linkId - None (required)ApiException - if fails to make API callpublic CompletableFuture<Void> deleteTeamLinkAsync(String teamId, String linkId)
See deleteTeamLinkWithHttpInfoAsync(java.lang.String, java.lang.String).
teamId - None (required)linkId - None (required)public ApiResponse<Void> deleteTeamLinkWithHttpInfo(String teamId, String linkId) throws ApiException
teamId - None (required)linkId - None (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 204 | No Content | - |
| 403 | Forbidden | - |
| 404 | API error response. | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Void>> deleteTeamLinkWithHttpInfoAsync(String teamId, String linkId)
See deleteTeamLinkWithHttpInfo(java.lang.String, java.lang.String).
teamId - None (required)linkId - None (required)public void deleteTeamMembership(String teamId, String userId) throws ApiException
See deleteTeamMembershipWithHttpInfo(java.lang.String, java.lang.String).
teamId - None (required)userId - None (required)ApiException - if fails to make API callpublic CompletableFuture<Void> deleteTeamMembershipAsync(String teamId, String userId)
See deleteTeamMembershipWithHttpInfoAsync(java.lang.String, java.lang.String).
teamId - None (required)userId - None (required)public ApiResponse<Void> deleteTeamMembershipWithHttpInfo(String teamId, String userId) throws ApiException
Note: Each team has a setting that determines who is allowed to modify
membership of the team. The user_access_manage permission generally grants access
to modify membership of any team. To get the full picture, see Team
Membership documentation.
teamId - None (required)userId - None (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 204 | No Content | - |
| 403 | Forbidden | - |
| 404 | API error response. | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Void>> deleteTeamMembershipWithHttpInfoAsync(String teamId, String userId)
See deleteTeamMembershipWithHttpInfo(java.lang.String, java.lang.String).
teamId - None (required)userId - None (required)public void deleteTeamNotificationRule(String teamId, String ruleId) throws ApiException
See deleteTeamNotificationRuleWithHttpInfo(java.lang.String, java.lang.String).
teamId - None (required)ruleId - None (required)ApiException - if fails to make API callpublic CompletableFuture<Void> deleteTeamNotificationRuleAsync(String teamId, String ruleId)
See deleteTeamNotificationRuleWithHttpInfoAsync(java.lang.String, java.lang.String).
teamId - None (required)ruleId - None (required)public ApiResponse<Void> deleteTeamNotificationRuleWithHttpInfo(String teamId, String ruleId) throws ApiException
teamId - None (required)ruleId - None (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 204 | No Content | - |
| 403 | Forbidden | - |
| 404 | API error response. | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Void>> deleteTeamNotificationRuleWithHttpInfoAsync(String teamId, String ruleId)
See deleteTeamNotificationRuleWithHttpInfo(java.lang.String, java.lang.String).
teamId - None (required)ruleId - None (required)public TeamResponse getTeam(String teamId) throws ApiException
teamId - None (required)ApiException - if fails to make API callpublic CompletableFuture<TeamResponse> getTeamAsync(String teamId)
teamId - None (required)public ApiResponse<TeamResponse> getTeamWithHttpInfo(String teamId) throws ApiException
id.teamId - None (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 403 | Forbidden | - |
| 404 | API error response. | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<TeamResponse>> getTeamWithHttpInfoAsync(String teamId)
teamId - None (required)public TeamHierarchyLinkResponse getTeamHierarchyLink(String linkId) throws ApiException
linkId - The team hierarchy link's identifier (required)ApiException - if fails to make API callpublic CompletableFuture<TeamHierarchyLinkResponse> getTeamHierarchyLinkAsync(String linkId)
See getTeamHierarchyLinkWithHttpInfoAsync(java.lang.String).
linkId - The team hierarchy link's identifier (required)public ApiResponse<TeamHierarchyLinkResponse> getTeamHierarchyLinkWithHttpInfo(String linkId) throws ApiException
linkId - The team hierarchy link's identifier (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 403 | Forbidden | - |
| 404 | API error response. | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<TeamHierarchyLinkResponse>> getTeamHierarchyLinkWithHttpInfoAsync(String linkId)
linkId - The team hierarchy link's identifier (required)public TeamLinkResponse getTeamLink(String teamId, String linkId) throws ApiException
See getTeamLinkWithHttpInfo(java.lang.String, java.lang.String).
teamId - None (required)linkId - None (required)ApiException - if fails to make API callpublic CompletableFuture<TeamLinkResponse> getTeamLinkAsync(String teamId, String linkId)
See getTeamLinkWithHttpInfoAsync(java.lang.String, java.lang.String).
teamId - None (required)linkId - None (required)public ApiResponse<TeamLinkResponse> getTeamLinkWithHttpInfo(String teamId, String linkId) throws ApiException
teamId - None (required)linkId - None (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 403 | Forbidden | - |
| 404 | API error response. | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<TeamLinkResponse>> getTeamLinkWithHttpInfoAsync(String teamId, String linkId)
See getTeamLinkWithHttpInfo(java.lang.String, java.lang.String).
teamId - None (required)linkId - None (required)public TeamLinksResponse getTeamLinks(String teamId) throws ApiException
teamId - None (required)ApiException - if fails to make API callpublic CompletableFuture<TeamLinksResponse> getTeamLinksAsync(String teamId)
teamId - None (required)public ApiResponse<TeamLinksResponse> getTeamLinksWithHttpInfo(String teamId) throws ApiException
teamId - None (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 403 | Forbidden | - |
| 404 | API error response. | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<TeamLinksResponse>> getTeamLinksWithHttpInfoAsync(String teamId)
teamId - None (required)public UserTeamsResponse getTeamMemberships(String teamId) throws ApiException
teamId - None (required)ApiException - if fails to make API callpublic CompletableFuture<UserTeamsResponse> getTeamMembershipsAsync(String teamId)
teamId - None (required)public UserTeamsResponse getTeamMemberships(String teamId, TeamsApi.GetTeamMembershipsOptionalParameters parameters) throws ApiException
teamId - None (required)parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<UserTeamsResponse> getTeamMembershipsAsync(String teamId, TeamsApi.GetTeamMembershipsOptionalParameters parameters)
teamId - None (required)parameters - Optional parameters for the request.public PaginationIterable<UserTeam> getTeamMembershipsWithPagination(String teamId)
teamId - None (required)public PaginationIterable<UserTeam> getTeamMembershipsWithPagination(String teamId, TeamsApi.GetTeamMembershipsOptionalParameters parameters)
teamId - None (required)public ApiResponse<UserTeamsResponse> getTeamMembershipsWithHttpInfo(String teamId, TeamsApi.GetTeamMembershipsOptionalParameters parameters) throws ApiException
teamId - None (required)parameters - Optional parameters for the request.ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | Represents a user's association to a team | - |
| 403 | Forbidden | - |
| 404 | API error response. | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<UserTeamsResponse>> getTeamMembershipsWithHttpInfoAsync(String teamId, TeamsApi.GetTeamMembershipsOptionalParameters parameters)
teamId - None (required)parameters - Optional parameters for the request.public TeamNotificationRuleResponse getTeamNotificationRule(String teamId, String ruleId) throws ApiException
See getTeamNotificationRuleWithHttpInfo(java.lang.String, java.lang.String).
teamId - None (required)ruleId - None (required)ApiException - if fails to make API callpublic CompletableFuture<TeamNotificationRuleResponse> getTeamNotificationRuleAsync(String teamId, String ruleId)
See getTeamNotificationRuleWithHttpInfoAsync(java.lang.String, java.lang.String).
teamId - None (required)ruleId - None (required)public ApiResponse<TeamNotificationRuleResponse> getTeamNotificationRuleWithHttpInfo(String teamId, String ruleId) throws ApiException
teamId - None (required)ruleId - None (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 403 | Forbidden | - |
| 404 | API error response. | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<TeamNotificationRuleResponse>> getTeamNotificationRuleWithHttpInfoAsync(String teamId, String ruleId)
See getTeamNotificationRuleWithHttpInfo(java.lang.String, java.lang.String).
teamId - None (required)ruleId - None (required)public TeamNotificationRulesResponse getTeamNotificationRules(String teamId) throws ApiException
teamId - None (required)ApiException - if fails to make API callpublic CompletableFuture<TeamNotificationRulesResponse> getTeamNotificationRulesAsync(String teamId)
See getTeamNotificationRulesWithHttpInfoAsync(java.lang.String).
teamId - None (required)public ApiResponse<TeamNotificationRulesResponse> getTeamNotificationRulesWithHttpInfo(String teamId) throws ApiException
teamId - None (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 403 | Forbidden | - |
| 404 | API error response. | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<TeamNotificationRulesResponse>> getTeamNotificationRulesWithHttpInfoAsync(String teamId)
teamId - None (required)public TeamPermissionSettingsResponse getTeamPermissionSettings(String teamId) throws ApiException
See getTeamPermissionSettingsWithHttpInfo(java.lang.String).
teamId - None (required)ApiException - if fails to make API callpublic CompletableFuture<TeamPermissionSettingsResponse> getTeamPermissionSettingsAsync(String teamId)
See getTeamPermissionSettingsWithHttpInfoAsync(java.lang.String).
teamId - None (required)public ApiResponse<TeamPermissionSettingsResponse> getTeamPermissionSettingsWithHttpInfo(String teamId) throws ApiException
teamId - None (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 403 | Forbidden | - |
| 404 | API error response. | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<TeamPermissionSettingsResponse>> getTeamPermissionSettingsWithHttpInfoAsync(String teamId)
See getTeamPermissionSettingsWithHttpInfo(java.lang.String).
teamId - None (required)public TeamSyncResponse getTeamSync(TeamSyncAttributesSource filterSource) throws ApiException
See getTeamSyncWithHttpInfo(com.datadog.api.client.v2.model.TeamSyncAttributesSource).
filterSource - Filter by the external source platform for team synchronization (required)ApiException - if fails to make API callpublic CompletableFuture<TeamSyncResponse> getTeamSyncAsync(TeamSyncAttributesSource filterSource)
See getTeamSyncWithHttpInfoAsync(com.datadog.api.client.v2.model.TeamSyncAttributesSource).
filterSource - Filter by the external source platform for team synchronization (required)public ApiResponse<TeamSyncResponse> getTeamSyncWithHttpInfo(TeamSyncAttributesSource filterSource) throws ApiException
filterSource - Filter by the external source platform for team synchronization (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 403 | Forbidden | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<TeamSyncResponse>> getTeamSyncWithHttpInfoAsync(TeamSyncAttributesSource filterSource)
See getTeamSyncWithHttpInfo(com.datadog.api.client.v2.model.TeamSyncAttributesSource).
filterSource - Filter by the external source platform for team synchronization (required)public UserTeamsResponse getUserMemberships(String userUuid) throws ApiException
userUuid - None (required)ApiException - if fails to make API callpublic CompletableFuture<UserTeamsResponse> getUserMembershipsAsync(String userUuid)
userUuid - None (required)public ApiResponse<UserTeamsResponse> getUserMembershipsWithHttpInfo(String userUuid) throws ApiException
userUuid - None (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | Represents a user's association to a team | - |
| 404 | API error response. | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<UserTeamsResponse>> getUserMembershipsWithHttpInfoAsync(String userUuid)
userUuid - None (required)@Deprecated public TeamsResponse listMemberTeams(String superTeamId) throws ApiException
superTeamId - None (required)ApiException - if fails to make API call@Deprecated public CompletableFuture<TeamsResponse> listMemberTeamsAsync(String superTeamId)
superTeamId - None (required)@Deprecated public TeamsResponse listMemberTeams(String superTeamId, TeamsApi.ListMemberTeamsOptionalParameters parameters) throws ApiException
superTeamId - None (required)parameters - Optional parameters for the request.ApiException - if fails to make API call@Deprecated public CompletableFuture<TeamsResponse> listMemberTeamsAsync(String superTeamId, TeamsApi.ListMemberTeamsOptionalParameters parameters)
superTeamId - None (required)parameters - Optional parameters for the request.@Deprecated public PaginationIterable<Team> listMemberTeamsWithPagination(String superTeamId)
superTeamId - None (required)@Deprecated public PaginationIterable<Team> listMemberTeamsWithPagination(String superTeamId, TeamsApi.ListMemberTeamsOptionalParameters parameters)
superTeamId - None (required)@Deprecated public ApiResponse<TeamsResponse> listMemberTeamsWithHttpInfo(String superTeamId, TeamsApi.ListMemberTeamsOptionalParameters parameters) throws ApiException
Note: This API is deprecated. For team hierarchy relationships
(parent-child teams), use the team hierarchy links API: GET /api/v2/team-hierarchy-links
.
superTeamId - None (required)parameters - Optional parameters for the request.ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 403 | Forbidden | - |
| 404 | API error response. | - |
| 429 | Too many requests | - |
@Deprecated public CompletableFuture<ApiResponse<TeamsResponse>> listMemberTeamsWithHttpInfoAsync(String superTeamId, TeamsApi.ListMemberTeamsOptionalParameters parameters)
superTeamId - None (required)parameters - Optional parameters for the request.public TeamConnectionsResponse listTeamConnections() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<TeamConnectionsResponse> listTeamConnectionsAsync()
public TeamConnectionsResponse listTeamConnections(TeamsApi.ListTeamConnectionsOptionalParameters parameters) throws ApiException
parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<TeamConnectionsResponse> listTeamConnectionsAsync(TeamsApi.ListTeamConnectionsOptionalParameters parameters)
parameters - Optional parameters for the request.public PaginationIterable<TeamConnection> listTeamConnectionsWithPagination()
public PaginationIterable<TeamConnection> listTeamConnectionsWithPagination(TeamsApi.ListTeamConnectionsOptionalParameters parameters)
public ApiResponse<TeamConnectionsResponse> listTeamConnectionsWithHttpInfo(TeamsApi.ListTeamConnectionsOptionalParameters parameters) throws ApiException
parameters - Optional parameters for the request.ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<TeamConnectionsResponse>> listTeamConnectionsWithHttpInfoAsync(TeamsApi.ListTeamConnectionsOptionalParameters parameters)
parameters - Optional parameters for the request.public TeamHierarchyLinksResponse listTeamHierarchyLinks() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<TeamHierarchyLinksResponse> listTeamHierarchyLinksAsync()
public TeamHierarchyLinksResponse listTeamHierarchyLinks(TeamsApi.ListTeamHierarchyLinksOptionalParameters parameters) throws ApiException
parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<TeamHierarchyLinksResponse> listTeamHierarchyLinksAsync(TeamsApi.ListTeamHierarchyLinksOptionalParameters parameters)
parameters - Optional parameters for the request.public PaginationIterable<TeamHierarchyLink> listTeamHierarchyLinksWithPagination()
public PaginationIterable<TeamHierarchyLink> listTeamHierarchyLinksWithPagination(TeamsApi.ListTeamHierarchyLinksOptionalParameters parameters)
public ApiResponse<TeamHierarchyLinksResponse> listTeamHierarchyLinksWithHttpInfo(TeamsApi.ListTeamHierarchyLinksOptionalParameters parameters) throws ApiException
parameters - Optional parameters for the request.ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 403 | Forbidden | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<TeamHierarchyLinksResponse>> listTeamHierarchyLinksWithHttpInfoAsync(TeamsApi.ListTeamHierarchyLinksOptionalParameters parameters)
parameters - Optional parameters for the request.public TeamsResponse listTeams() throws ApiException
See listTeamsWithHttpInfo(com.datadog.api.client.v2.api.TeamsApi.ListTeamsOptionalParameters).
ApiException - if fails to make API callpublic CompletableFuture<TeamsResponse> listTeamsAsync()
See listTeamsWithHttpInfoAsync(com.datadog.api.client.v2.api.TeamsApi.ListTeamsOptionalParameters).
public TeamsResponse listTeams(TeamsApi.ListTeamsOptionalParameters parameters) throws ApiException
See listTeamsWithHttpInfo(com.datadog.api.client.v2.api.TeamsApi.ListTeamsOptionalParameters).
parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<TeamsResponse> listTeamsAsync(TeamsApi.ListTeamsOptionalParameters parameters)
See listTeamsWithHttpInfoAsync(com.datadog.api.client.v2.api.TeamsApi.ListTeamsOptionalParameters).
parameters - Optional parameters for the request.public PaginationIterable<Team> listTeamsWithPagination()
See listTeamsWithHttpInfo(com.datadog.api.client.v2.api.TeamsApi.ListTeamsOptionalParameters).
public PaginationIterable<Team> listTeamsWithPagination(TeamsApi.ListTeamsOptionalParameters parameters)
See listTeamsWithHttpInfo(com.datadog.api.client.v2.api.TeamsApi.ListTeamsOptionalParameters).
public ApiResponse<TeamsResponse> listTeamsWithHttpInfo(TeamsApi.ListTeamsOptionalParameters parameters) throws ApiException
filter[keyword] and
filter[me] query parameters.parameters - Optional parameters for the request.ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 403 | Forbidden | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<TeamsResponse>> listTeamsWithHttpInfoAsync(TeamsApi.ListTeamsOptionalParameters parameters)
See listTeamsWithHttpInfo(com.datadog.api.client.v2.api.TeamsApi.ListTeamsOptionalParameters).
parameters - Optional parameters for the request.@Deprecated public void removeMemberTeam(String superTeamId, String memberTeamId) throws ApiException
See removeMemberTeamWithHttpInfo(java.lang.String, java.lang.String).
superTeamId - None (required)memberTeamId - None (required)ApiException - if fails to make API call@Deprecated public CompletableFuture<Void> removeMemberTeamAsync(String superTeamId, String memberTeamId)
See removeMemberTeamWithHttpInfoAsync(java.lang.String, java.lang.String).
superTeamId - None (required)memberTeamId - None (required)@Deprecated public ApiResponse<Void> removeMemberTeamWithHttpInfo(String superTeamId, String memberTeamId) throws ApiException
member_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}.
superTeamId - None (required)memberTeamId - None (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 204 | No Content | - |
| 403 | Forbidden | - |
| 404 | API error response. | - |
| 429 | Too many requests | - |
@Deprecated public CompletableFuture<ApiResponse<Void>> removeMemberTeamWithHttpInfoAsync(String superTeamId, String memberTeamId)
See removeMemberTeamWithHttpInfo(java.lang.String, java.lang.String).
superTeamId - None (required)memberTeamId - None (required)public void removeTeamHierarchyLink(String linkId) throws ApiException
linkId - The team hierarchy link's identifier (required)ApiException - if fails to make API callpublic CompletableFuture<Void> removeTeamHierarchyLinkAsync(String linkId)
See removeTeamHierarchyLinkWithHttpInfoAsync(java.lang.String).
linkId - The team hierarchy link's identifier (required)public ApiResponse<Void> removeTeamHierarchyLinkWithHttpInfo(String linkId) throws ApiException
linkId - The team hierarchy link's identifier (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 204 | No Content | - |
| 403 | Forbidden | - |
| 404 | API error response. | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Void>> removeTeamHierarchyLinkWithHttpInfoAsync(String linkId)
linkId - The team hierarchy link's identifier (required)public void syncTeams(TeamSyncRequest body) throws ApiException
See syncTeamsWithHttpInfo(com.datadog.api.client.v2.model.TeamSyncRequest).
body - (required)ApiException - if fails to make API callpublic CompletableFuture<Void> syncTeamsAsync(TeamSyncRequest body)
See syncTeamsWithHttpInfoAsync(com.datadog.api.client.v2.model.TeamSyncRequest).
body - (required)public ApiResponse<Void> syncTeamsWithHttpInfo(TeamSyncRequest body) throws ApiException
This operation is read-only on the GitHub side, no teams will be modified or created.
Optionally, provide selection_state to 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 Read permission. 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 to provision.
body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 204 | No Content | - |
| 403 | Forbidden | - |
| 429 | Too many requests | - |
| 500 | Internal Server Error - Unexpected error during linking. | - |
public CompletableFuture<ApiResponse<Void>> syncTeamsWithHttpInfoAsync(TeamSyncRequest body)
See syncTeamsWithHttpInfo(com.datadog.api.client.v2.model.TeamSyncRequest).
body - (required)public TeamResponse updateTeam(String teamId, TeamUpdateRequest body) throws ApiException
See updateTeamWithHttpInfo(java.lang.String, com.datadog.api.client.v2.model.TeamUpdateRequest).
teamId - None (required)body - (required)ApiException - if fails to make API callpublic CompletableFuture<TeamResponse> updateTeamAsync(String teamId, TeamUpdateRequest body)
See updateTeamWithHttpInfoAsync(java.lang.String, com.datadog.api.client.v2.model.TeamUpdateRequest).
teamId - None (required)body - (required)public ApiResponse<TeamResponse> updateTeamWithHttpInfo(String teamId, TeamUpdateRequest body) throws ApiException
id. If the team_links relationship 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.teamId - None (required)body - (required)ApiException - if fails to make API call| 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 | - |
public CompletableFuture<ApiResponse<TeamResponse>> updateTeamWithHttpInfoAsync(String teamId, TeamUpdateRequest body)
See updateTeamWithHttpInfo(java.lang.String, com.datadog.api.client.v2.model.TeamUpdateRequest).
teamId - None (required)body - (required)public TeamLinkResponse updateTeamLink(String teamId, String linkId, TeamLinkCreateRequest body) throws ApiException
teamId - None (required)linkId - None (required)body - (required)ApiException - if fails to make API callpublic CompletableFuture<TeamLinkResponse> updateTeamLinkAsync(String teamId, String linkId, TeamLinkCreateRequest body)
teamId - None (required)linkId - None (required)body - (required)public ApiResponse<TeamLinkResponse> updateTeamLinkWithHttpInfo(String teamId, String linkId, TeamLinkCreateRequest body) throws ApiException
teamId - None (required)linkId - None (required)body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 403 | Forbidden | - |
| 404 | API error response. | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<TeamLinkResponse>> updateTeamLinkWithHttpInfoAsync(String teamId, String linkId, TeamLinkCreateRequest body)
teamId - None (required)linkId - None (required)body - (required)public UserTeamResponse updateTeamMembership(String teamId, String userId, UserTeamUpdateRequest body) throws ApiException
teamId - None (required)userId - None (required)body - (required)ApiException - if fails to make API callpublic CompletableFuture<UserTeamResponse> updateTeamMembershipAsync(String teamId, String userId, UserTeamUpdateRequest body)
teamId - None (required)userId - None (required)body - (required)public ApiResponse<UserTeamResponse> updateTeamMembershipWithHttpInfo(String teamId, String userId, UserTeamUpdateRequest body) throws ApiException
Note: Each team has a setting that determines who is allowed to modify
membership of the team. The user_access_manage permission generally grants access
to modify membership of any team. To get the full picture, see Team
Membership documentation.
teamId - None (required)userId - None (required)body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | API error response. | - |
| 403 | Forbidden | - |
| 404 | API error response. | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<UserTeamResponse>> updateTeamMembershipWithHttpInfoAsync(String teamId, String userId, UserTeamUpdateRequest body)
teamId - None (required)userId - None (required)body - (required)public TeamNotificationRuleResponse updateTeamNotificationRule(String teamId, String ruleId, TeamNotificationRuleRequest body) throws ApiException
teamId - None (required)ruleId - None (required)body - (required)ApiException - if fails to make API callpublic CompletableFuture<TeamNotificationRuleResponse> updateTeamNotificationRuleAsync(String teamId, String ruleId, TeamNotificationRuleRequest body)
teamId - None (required)ruleId - None (required)body - (required)public ApiResponse<TeamNotificationRuleResponse> updateTeamNotificationRuleWithHttpInfo(String teamId, String ruleId, TeamNotificationRuleRequest body) throws ApiException
teamId - None (required)ruleId - None (required)body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 403 | Forbidden | - |
| 404 | API error response. | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<TeamNotificationRuleResponse>> updateTeamNotificationRuleWithHttpInfoAsync(String teamId, String ruleId, TeamNotificationRuleRequest body)
teamId - None (required)ruleId - None (required)body - (required)public TeamPermissionSettingResponse updateTeamPermissionSetting(String teamId, String action, TeamPermissionSettingUpdateRequest body) throws ApiException
teamId - None (required)action - None (required)body - (required)ApiException - if fails to make API callpublic CompletableFuture<TeamPermissionSettingResponse> updateTeamPermissionSettingAsync(String teamId, String action, TeamPermissionSettingUpdateRequest body)
teamId - None (required)action - None (required)body - (required)public ApiResponse<TeamPermissionSettingResponse> updateTeamPermissionSettingWithHttpInfo(String teamId, String action, TeamPermissionSettingUpdateRequest body) throws ApiException
teamId - None (required)action - None (required)body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 403 | Forbidden | - |
| 404 | API error response. | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<TeamPermissionSettingResponse>> updateTeamPermissionSettingWithHttpInfoAsync(String teamId, String action, TeamPermissionSettingUpdateRequest body)
teamId - None (required)action - None (required)body - (required)Copyright © 2026. All rights reserved.