@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class WebhooksIntegrationApi extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
WebhooksIntegrationApi.GetAllAuthMethodsOptionalParameters
Manage optional parameters to getAllAuthMethods.
|
| Constructor and Description |
|---|
WebhooksIntegrationApi() |
WebhooksIntegrationApi(ApiClient apiClient) |
public WebhooksIntegrationApi()
public WebhooksIntegrationApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - an instance of API clientpublic WebhooksOAuth2ClientCredentialsResponse createOAuth2ClientCredentials(WebhooksOAuth2ClientCredentialsCreateRequest body) throws ApiException
body - OAuth2 client credentials payload. (required)ApiException - if fails to make API callpublic CompletableFuture<WebhooksOAuth2ClientCredentialsResponse> createOAuth2ClientCredentialsAsync(WebhooksOAuth2ClientCredentialsCreateRequest body)
body - OAuth2 client credentials payload. (required)public ApiResponse<WebhooksOAuth2ClientCredentialsResponse> createOAuth2ClientCredentialsWithHttpInfo(WebhooksOAuth2ClientCredentialsCreateRequest body) throws ApiException
client_secret is stored securely and never returned.body - OAuth2 client credentials payload. (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<WebhooksOAuth2ClientCredentialsResponse>> createOAuth2ClientCredentialsWithHttpInfoAsync(WebhooksOAuth2ClientCredentialsCreateRequest body)
body - OAuth2 client credentials payload. (required)public void deleteOAuth2ClientCredentials(String authMethodId) throws ApiException
See deleteOAuth2ClientCredentialsWithHttpInfo(java.lang.String).
authMethodId - The UUID of the auth method. (required)ApiException - if fails to make API callpublic CompletableFuture<Void> deleteOAuth2ClientCredentialsAsync(String authMethodId)
See deleteOAuth2ClientCredentialsWithHttpInfoAsync(java.lang.String).
authMethodId - The UUID of the auth method. (required)public ApiResponse<Void> deleteOAuth2ClientCredentialsWithHttpInfo(String authMethodId) throws ApiException
authMethodId - The UUID of the auth method. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 204 | OK | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Void>> deleteOAuth2ClientCredentialsWithHttpInfoAsync(String authMethodId)
See deleteOAuth2ClientCredentialsWithHttpInfo(java.lang.String).
authMethodId - The UUID of the auth method. (required)public WebhooksAuthMethodsResponse getAllAuthMethods() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<WebhooksAuthMethodsResponse> getAllAuthMethodsAsync()
public WebhooksAuthMethodsResponse getAllAuthMethods(WebhooksIntegrationApi.GetAllAuthMethodsOptionalParameters parameters) throws ApiException
parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<WebhooksAuthMethodsResponse> getAllAuthMethodsAsync(WebhooksIntegrationApi.GetAllAuthMethodsOptionalParameters parameters)
parameters - Optional parameters for the request.public ApiResponse<WebhooksAuthMethodsResponse> getAllAuthMethodsWithHttpInfo(WebhooksIntegrationApi.GetAllAuthMethodsOptionalParameters 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<WebhooksAuthMethodsResponse>> getAllAuthMethodsWithHttpInfoAsync(WebhooksIntegrationApi.GetAllAuthMethodsOptionalParameters parameters)
parameters - Optional parameters for the request.public WebhooksOAuth2ClientCredentialsResponse getOAuth2ClientCredentials(String authMethodId) throws ApiException
See getOAuth2ClientCredentialsWithHttpInfo(java.lang.String).
authMethodId - The UUID of the auth method. (required)ApiException - if fails to make API callpublic CompletableFuture<WebhooksOAuth2ClientCredentialsResponse> getOAuth2ClientCredentialsAsync(String authMethodId)
See getOAuth2ClientCredentialsWithHttpInfoAsync(java.lang.String).
authMethodId - The UUID of the auth method. (required)public ApiResponse<WebhooksOAuth2ClientCredentialsResponse> getOAuth2ClientCredentialsWithHttpInfo(String authMethodId) throws ApiException
authMethodId - The UUID of the auth method. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<WebhooksOAuth2ClientCredentialsResponse>> getOAuth2ClientCredentialsWithHttpInfoAsync(String authMethodId)
See getOAuth2ClientCredentialsWithHttpInfo(java.lang.String).
authMethodId - The UUID of the auth method. (required)public WebhooksOAuth2ClientCredentialsResponse updateOAuth2ClientCredentials(String authMethodId, WebhooksOAuth2ClientCredentialsUpdateRequest body) throws ApiException
authMethodId - The UUID of the auth method. (required)body - OAuth2 client credentials payload. (required)ApiException - if fails to make API callpublic CompletableFuture<WebhooksOAuth2ClientCredentialsResponse> updateOAuth2ClientCredentialsAsync(String authMethodId, WebhooksOAuth2ClientCredentialsUpdateRequest body)
authMethodId - The UUID of the auth method. (required)body - OAuth2 client credentials payload. (required)public ApiResponse<WebhooksOAuth2ClientCredentialsResponse> updateOAuth2ClientCredentialsWithHttpInfo(String authMethodId, WebhooksOAuth2ClientCredentialsUpdateRequest body) throws ApiException
authMethodId - The UUID of the auth method. (required)body - OAuth2 client credentials payload. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 409 | Conflict | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<WebhooksOAuth2ClientCredentialsResponse>> updateOAuth2ClientCredentialsWithHttpInfoAsync(String authMethodId, WebhooksOAuth2ClientCredentialsUpdateRequest body)
authMethodId - The UUID of the auth method. (required)body - OAuth2 client credentials payload. (required)Copyright © 2026. All rights reserved.