Sha256: d9ddfe4393d345dcc5f7e11cb57a8dd28402acde11b5ba28eda5e56a0c674faa

Contents?: true

Size: 584 Bytes

Versions: 1

Compression:

Stored size: 584 Bytes

Contents

require "datadog_api_client"
api_instance = DatadogAPIClient::V1::PagerDutyIntegrationAPI.new
service_name = "service_name_example" # String | The service name
body = DatadogAPIClient::V1::PagerDutyServiceKey.new({ service_key: "service_key_example" }) # PagerDutyServiceKey | Update an existing service object request body.

begin
  # Update a single service object
  api_instance.update_pager_duty_integration_service(service_name, body)
rescue DatadogAPIClient::V1::APIError => e
  puts "Error when calling PagerDutyIntegrationAPI->update_pager_duty_integration_service: #{e}"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
datadog_api_client-1.7.0 examples/generated/v1/pager-duty-integration/UpdatePagerDutyIntegrationService.rb