Sha256: 4e386abb878b07d9db20961b3931711bc79056ef89949d690c7d8b9be776a51e
Contents?: true
Size: 636 Bytes
Versions: 19
Compression:
Stored size: 636 Bytes
Contents
# Update a shared dashboard returns "OK" response require "datadog_api_client" api_instance = DatadogAPIClient::V1::DashboardsAPI.new # there is a valid "shared_dashboard" in the system SHARED_DASHBOARD_TOKEN = ENV["SHARED_DASHBOARD_TOKEN"] body = DatadogAPIClient::V1::SharedDashboardUpdateRequest.new({ global_time: DatadogAPIClient::V1::SharedDashboardUpdateRequestGlobalTime.new({ live_span: DatadogAPIClient::V1::DashboardGlobalTimeLiveSpan::PAST_FIFTEEN_MINUTES, }), share_list: [], share_type: DatadogAPIClient::V1::DashboardShareType::OPEN, }) p api_instance.update_public_dashboard(SHARED_DASHBOARD_TOKEN, body)
Version data entries
19 entries across 19 versions & 1 rubygems