Sha256: b1eaf55894a3a38d436f5f1cc11840623f313c3b3471db09d2f63b6d718060ee

Contents?: true

Size: 403 Bytes

Versions: 9

Compression:

Stored size: 403 Bytes

Contents

# Unarchive case returns "OK" response

require "datadog_api_client"
api_instance = DatadogAPIClient::V2::CaseManagementAPI.new

# there is a valid "case" in the system
CASE_ID = ENV["CASE_ID"]

body = DatadogAPIClient::V2::CaseEmptyRequest.new({
  data: DatadogAPIClient::V2::CaseEmpty.new({
    type: DatadogAPIClient::V2::CaseResourceType::CASE,
  }),
})
p api_instance.unarchive_case(CASE_ID, body)

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
datadog_api_client-2.29.1 examples/v2/case-management/UnarchiveCase.rb
datadog_api_client-2.28.1 examples/v2/case-management/UnarchiveCase.rb
datadog_api_client-2.27.1 examples/v2/case-management/UnarchiveCase.rb
datadog_api_client-2.26.1 examples/v2/case-management/UnarchiveCase.rb
datadog_api_client-2.26.0 examples/v2/case-management/UnarchiveCase.rb
datadog_api_client-2.25.0 examples/v2/case-management/UnarchiveCase.rb
datadog_api_client-2.24.0 examples/v2/case-management/UnarchiveCase.rb
datadog_api_client-2.22.0 examples/v2/case-management/UnarchiveCase.rb
datadog_api_client-2.21.0 examples/v2/case-management/UnarchiveCase.rb