@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class UserAuthorizedClientsApi extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
UserAuthorizedClientsApi.ListUserAuthorizedClientsOptionalParameters
Manage optional parameters to listUserAuthorizedClients.
|
| Constructor and Description |
|---|
UserAuthorizedClientsApi() |
UserAuthorizedClientsApi(ApiClient apiClient) |
public UserAuthorizedClientsApi()
public UserAuthorizedClientsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - an instance of API clientpublic void deleteUserAuthorizedClient(String userAuthorizedClientId) throws ApiException
See deleteUserAuthorizedClientWithHttpInfo(java.lang.String).
userAuthorizedClientId - The ID of the user authorized client. (required)ApiException - if fails to make API callpublic CompletableFuture<Void> deleteUserAuthorizedClientAsync(String userAuthorizedClientId)
See deleteUserAuthorizedClientWithHttpInfoAsync(java.lang.String).
userAuthorizedClientId - The ID of the user authorized client. (required)public ApiResponse<Void> deleteUserAuthorizedClientWithHttpInfo(String userAuthorizedClientId) throws ApiException
userAuthorizedClientId - The ID of the user authorized client. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 204 | No Content | - |
| 403 | Authentication error | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Void>> deleteUserAuthorizedClientWithHttpInfoAsync(String userAuthorizedClientId)
See deleteUserAuthorizedClientWithHttpInfo(java.lang.String).
userAuthorizedClientId - The ID of the user authorized client. (required)public void deleteUserAuthorizedClientsByClient(String clientId) throws ApiException
See deleteUserAuthorizedClientsByClientWithHttpInfo(java.lang.String).
clientId - The ID of the OAuth2 client. (required)ApiException - if fails to make API callpublic CompletableFuture<Void> deleteUserAuthorizedClientsByClientAsync(String clientId)
See deleteUserAuthorizedClientsByClientWithHttpInfoAsync(java.lang.String).
clientId - The ID of the OAuth2 client. (required)public ApiResponse<Void> deleteUserAuthorizedClientsByClientWithHttpInfo(String clientId) throws ApiException
clientId - The ID of the OAuth2 client. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 204 | No Content | - |
| 403 | Authentication error | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Void>> deleteUserAuthorizedClientsByClientWithHttpInfoAsync(String clientId)
See deleteUserAuthorizedClientsByClientWithHttpInfo(java.lang.String).
clientId - The ID of the OAuth2 client. (required)public UserAuthorizedClientResponse getUserAuthorizedClient(String userAuthorizedClientId) throws ApiException
userAuthorizedClientId - The ID of the user authorized client. (required)ApiException - if fails to make API callpublic CompletableFuture<UserAuthorizedClientResponse> getUserAuthorizedClientAsync(String userAuthorizedClientId)
See getUserAuthorizedClientWithHttpInfoAsync(java.lang.String).
userAuthorizedClientId - The ID of the user authorized client. (required)public ApiResponse<UserAuthorizedClientResponse> getUserAuthorizedClientWithHttpInfo(String userAuthorizedClientId) throws ApiException
userAuthorizedClientId - The ID of the user authorized client. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 403 | Authentication error | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<UserAuthorizedClientResponse>> getUserAuthorizedClientWithHttpInfoAsync(String userAuthorizedClientId)
userAuthorizedClientId - The ID of the user authorized client. (required)public UserAuthorizedClientsResponse listUserAuthorizedClients() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<UserAuthorizedClientsResponse> listUserAuthorizedClientsAsync()
public UserAuthorizedClientsResponse listUserAuthorizedClients(UserAuthorizedClientsApi.ListUserAuthorizedClientsOptionalParameters parameters) throws ApiException
parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<UserAuthorizedClientsResponse> listUserAuthorizedClientsAsync(UserAuthorizedClientsApi.ListUserAuthorizedClientsOptionalParameters parameters)
parameters - Optional parameters for the request.public PaginationIterable<UserAuthorizedClientData> listUserAuthorizedClientsWithPagination()
public PaginationIterable<UserAuthorizedClientData> listUserAuthorizedClientsWithPagination(UserAuthorizedClientsApi.ListUserAuthorizedClientsOptionalParameters parameters)
public ApiResponse<UserAuthorizedClientsResponse> listUserAuthorizedClientsWithHttpInfo(UserAuthorizedClientsApi.ListUserAuthorizedClientsOptionalParameters parameters) throws ApiException
parameters - Optional parameters for the request.ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 403 | Authentication error | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<UserAuthorizedClientsResponse>> listUserAuthorizedClientsWithHttpInfoAsync(UserAuthorizedClientsApi.ListUserAuthorizedClientsOptionalParameters parameters)
parameters - Optional parameters for the request.Copyright © 2026. All rights reserved.