@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class CustomerOrgApi extends Object
| Constructor and Description |
|---|
CustomerOrgApi() |
CustomerOrgApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
CustomerOrgDisableResponse |
disableCustomerOrg(CustomerOrgDisableRequest body)
Disable the authenticated customer organization.
|
CompletableFuture<CustomerOrgDisableResponse> |
disableCustomerOrgAsync(CustomerOrgDisableRequest body)
Disable the authenticated customer organization.
|
ApiResponse<CustomerOrgDisableResponse> |
disableCustomerOrgWithHttpInfo(CustomerOrgDisableRequest body)
Disable the Datadog organization associated with the authenticated user or API key.
|
CompletableFuture<ApiResponse<CustomerOrgDisableResponse>> |
disableCustomerOrgWithHttpInfoAsync(CustomerOrgDisableRequest body)
Disable the authenticated customer organization.
|
ApiClient |
getApiClient()
Get the API client.
|
void |
setApiClient(ApiClient apiClient)
Set the API client.
|
public CustomerOrgApi()
public CustomerOrgApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - an instance of API clientpublic CustomerOrgDisableResponse disableCustomerOrg(CustomerOrgDisableRequest body) throws ApiException
See disableCustomerOrgWithHttpInfo(com.datadog.api.client.v2.model.CustomerOrgDisableRequest).
body - (required)ApiException - if fails to make API callpublic CompletableFuture<CustomerOrgDisableResponse> disableCustomerOrgAsync(CustomerOrgDisableRequest body)
See disableCustomerOrgWithHttpInfoAsync(com.datadog.api.client.v2.model.CustomerOrgDisableRequest).
body - (required)public ApiResponse<CustomerOrgDisableResponse> disableCustomerOrgWithHttpInfo(CustomerOrgDisableRequest body) throws ApiException
org_uuid is supplied, it must match the
authenticated org or the request is rejected. Successful calls disable the org and return the
resulting state from the downstream service. Requires the org_management
permission.body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 429 | Too many requests | - |
| 500 | Internal Server Error | - |
public CompletableFuture<ApiResponse<CustomerOrgDisableResponse>> disableCustomerOrgWithHttpInfoAsync(CustomerOrgDisableRequest body)
See disableCustomerOrgWithHttpInfo(com.datadog.api.client.v2.model.CustomerOrgDisableRequest).
body - (required)Copyright © 2026. All rights reserved.