@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class DashboardSecureEmbedApi extends Object
| Constructor and Description |
|---|
DashboardSecureEmbedApi() |
DashboardSecureEmbedApi(ApiClient apiClient) |
public DashboardSecureEmbedApi()
public DashboardSecureEmbedApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - an instance of API clientpublic SecureEmbedCreateResponse createDashboardSecureEmbed(String dashboardId, SecureEmbedCreateRequest body) throws ApiException
dashboardId - The ID of the dashboard. (required)body - Secure embed creation request body. (required)ApiException - if fails to make API callpublic CompletableFuture<SecureEmbedCreateResponse> createDashboardSecureEmbedAsync(String dashboardId, SecureEmbedCreateRequest body)
dashboardId - The ID of the dashboard. (required)body - Secure embed creation request body. (required)public ApiResponse<SecureEmbedCreateResponse> createDashboardSecureEmbedWithHttpInfo(String dashboardId, SecureEmbedCreateRequest body) throws ApiException
credential
used for HMAC-SHA256 signing. Store it securely — it cannot be retrieved again.dashboardId - The ID of the dashboard. (required)body - Secure embed creation request body. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 403 | Forbidden | - |
| 404 | Dashboard Not Found | - |
| 409 | Conflict — max 1000 share URLs per dashboard exceeded | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<SecureEmbedCreateResponse>> createDashboardSecureEmbedWithHttpInfoAsync(String dashboardId, SecureEmbedCreateRequest body)
dashboardId - The ID of the dashboard. (required)body - Secure embed creation request body. (required)public void deleteDashboardSecureEmbed(String dashboardId, String token) throws ApiException
See deleteDashboardSecureEmbedWithHttpInfo(java.lang.String, java.lang.String).
dashboardId - The ID of the dashboard. (required)token - The share token identifying the secure embed. (required)ApiException - if fails to make API callpublic CompletableFuture<Void> deleteDashboardSecureEmbedAsync(String dashboardId, String token)
See deleteDashboardSecureEmbedWithHttpInfoAsync(java.lang.String, java.lang.String).
dashboardId - The ID of the dashboard. (required)token - The share token identifying the secure embed. (required)public ApiResponse<Void> deleteDashboardSecureEmbedWithHttpInfo(String dashboardId, String token) throws ApiException
dashboardId - The ID of the dashboard. (required)token - The share token identifying the secure embed. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 204 | No Content | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Void>> deleteDashboardSecureEmbedWithHttpInfoAsync(String dashboardId, String token)
See deleteDashboardSecureEmbedWithHttpInfo(java.lang.String, java.lang.String).
dashboardId - The ID of the dashboard. (required)token - The share token identifying the secure embed. (required)public SecureEmbedGetResponse getDashboardSecureEmbed(String dashboardId, String token) throws ApiException
See getDashboardSecureEmbedWithHttpInfo(java.lang.String, java.lang.String).
dashboardId - The ID of the dashboard. (required)token - The share token identifying the secure embed. (required)ApiException - if fails to make API callpublic CompletableFuture<SecureEmbedGetResponse> getDashboardSecureEmbedAsync(String dashboardId, String token)
See getDashboardSecureEmbedWithHttpInfoAsync(java.lang.String, java.lang.String).
dashboardId - The ID of the dashboard. (required)token - The share token identifying the secure embed. (required)public ApiResponse<SecureEmbedGetResponse> getDashboardSecureEmbedWithHttpInfo(String dashboardId, String token) throws ApiException
dashboardId - The ID of the dashboard. (required)token - The share token identifying the secure embed. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<SecureEmbedGetResponse>> getDashboardSecureEmbedWithHttpInfoAsync(String dashboardId, String token)
See getDashboardSecureEmbedWithHttpInfo(java.lang.String, java.lang.String).
dashboardId - The ID of the dashboard. (required)token - The share token identifying the secure embed. (required)public SecureEmbedUpdateResponse updateDashboardSecureEmbed(String dashboardId, String token, SecureEmbedUpdateRequest body) throws ApiException
dashboardId - The ID of the dashboard. (required)token - The share token identifying the secure embed. (required)body - Secure embed update request body. (required)ApiException - if fails to make API callpublic CompletableFuture<SecureEmbedUpdateResponse> updateDashboardSecureEmbedAsync(String dashboardId, String token, SecureEmbedUpdateRequest body)
dashboardId - The ID of the dashboard. (required)token - The share token identifying the secure embed. (required)body - Secure embed update request body. (required)public ApiResponse<SecureEmbedUpdateResponse> updateDashboardSecureEmbedWithHttpInfo(String dashboardId, String token, SecureEmbedUpdateRequest body) throws ApiException
dashboardId - The ID of the dashboard. (required)token - The share token identifying the secure embed. (required)body - Secure embed update request body. (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<SecureEmbedUpdateResponse>> updateDashboardSecureEmbedWithHttpInfoAsync(String dashboardId, String token, SecureEmbedUpdateRequest body)
dashboardId - The ID of the dashboard. (required)token - The share token identifying the secure embed. (required)body - Secure embed update request body. (required)Copyright © 2026. All rights reserved.