Sha256: 74feccb53c70b7c43b9fa0ddde6b50e041da81f4575d97b4a6d51cb5acc85d5a

Contents?: true

Size: 401 Bytes

Versions: 8

Compression:

Stored size: 401 Bytes

Contents

# Unassign 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.unassign_case(CASE_ID, body)

Version data entries

8 entries across 8 versions & 1 rubygems

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