@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class OAuth2ClientPublicApi extends Object
| Constructor and Description |
|---|
OAuth2ClientPublicApi() |
OAuth2ClientPublicApi(ApiClient apiClient) |
public OAuth2ClientPublicApi()
public OAuth2ClientPublicApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - an instance of API clientpublic void deleteScopesRestriction(UUID clientUuid) throws ApiException
clientUuid - UUID of the OAuth2 client. (required)ApiException - if fails to make API callpublic CompletableFuture<Void> deleteScopesRestrictionAsync(UUID clientUuid)
See deleteScopesRestrictionWithHttpInfoAsync(java.util.UUID).
clientUuid - UUID of the OAuth2 client. (required)public ApiResponse<Void> deleteScopesRestrictionWithHttpInfo(UUID clientUuid) throws ApiException
clientUuid - UUID of the OAuth2 client. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 204 | No Content | - |
| 400 | Bad Request | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Void>> deleteScopesRestrictionWithHttpInfoAsync(UUID clientUuid)
clientUuid - UUID of the OAuth2 client. (required)public OAuth2WellKnownSitesResponse getOAuth2WellKnownSites() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<OAuth2WellKnownSitesResponse> getOAuth2WellKnownSitesAsync()
public ApiResponse<OAuth2WellKnownSitesResponse> getOAuth2WellKnownSitesWithHttpInfo() throws ApiException
ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<OAuth2WellKnownSitesResponse>> getOAuth2WellKnownSitesWithHttpInfoAsync()
public OAuthScopesRestrictionResponse getScopesRestriction(UUID clientUuid) throws ApiException
clientUuid - UUID of the OAuth2 client. (required)ApiException - if fails to make API callpublic CompletableFuture<OAuthScopesRestrictionResponse> getScopesRestrictionAsync(UUID clientUuid)
clientUuid - UUID of the OAuth2 client. (required)public ApiResponse<OAuthScopesRestrictionResponse> getScopesRestrictionWithHttpInfo(UUID clientUuid) throws ApiException
clientUuid - UUID of the OAuth2 client. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<OAuthScopesRestrictionResponse>> getScopesRestrictionWithHttpInfoAsync(UUID clientUuid)
clientUuid - UUID of the OAuth2 client. (required)public OAuthClientRegistrationResponse registerOAuthClient(OAuthClientRegistrationRequest body) throws ApiException
See registerOAuthClientWithHttpInfo(com.datadog.api.client.v2.model.OAuthClientRegistrationRequest).
body - (required)ApiException - if fails to make API callpublic CompletableFuture<OAuthClientRegistrationResponse> registerOAuthClientAsync(OAuthClientRegistrationRequest body)
See registerOAuthClientWithHttpInfoAsync(com.datadog.api.client.v2.model.OAuthClientRegistrationRequest).
body - (required)public ApiResponse<OAuthClientRegistrationResponse> registerOAuthClientWithHttpInfo(OAuthClientRegistrationRequest body) throws ApiException
body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 201 | Created | - |
| 400 | Bad Request | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<OAuthClientRegistrationResponse>> registerOAuthClientWithHttpInfoAsync(OAuthClientRegistrationRequest body)
See registerOAuthClientWithHttpInfo(com.datadog.api.client.v2.model.OAuthClientRegistrationRequest).
body - (required)public OAuthScopesRestrictionResponse upsertScopesRestriction(UUID clientUuid, UpsertOAuthScopesRestrictionRequest body) throws ApiException
clientUuid - UUID of the OAuth2 client. (required)body - (required)ApiException - if fails to make API callpublic CompletableFuture<OAuthScopesRestrictionResponse> upsertScopesRestrictionAsync(UUID clientUuid, UpsertOAuthScopesRestrictionRequest body)
clientUuid - UUID of the OAuth2 client. (required)body - (required)public ApiResponse<OAuthScopesRestrictionResponse> upsertScopesRestrictionWithHttpInfo(UUID clientUuid, UpsertOAuthScopesRestrictionRequest body) throws ApiException
clientUuid - UUID of the OAuth2 client. (required)body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<OAuthScopesRestrictionResponse>> upsertScopesRestrictionWithHttpInfoAsync(UUID clientUuid, UpsertOAuthScopesRestrictionRequest body)
clientUuid - UUID of the OAuth2 client. (required)body - (required)Copyright © 2026. All rights reserved.