Sha256: bf625a1f598eba7b439d4450ceddb23d40f5f70d2bd16062af51cc8bf323808c

Contents?: true

Size: 682 Bytes

Versions: 1

Compression:

Stored size: 682 Bytes

Contents

require "datadog_api_client"
api_instance = DatadogAPIClient::V1::SlackIntegrationAPI.new
account_name = "account_name_example" # String | Your Slack account name.
channel_name = "channel_name_example" # String | The name of the Slack channel being operated on.
body = DatadogAPIClient::V1::SlackIntegrationChannel.new # SlackIntegrationChannel | Payload describing fields and values to be updated.

begin
  # Update a Slack integration channel
  result = api_instance.update_slack_integration_channel(account_name, channel_name, body)
  p result
rescue DatadogAPIClient::V1::APIError => e
  puts "Error when calling SlackIntegrationAPI->update_slack_integration_channel: #{e}"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
datadog_api_client-1.7.0 examples/generated/v1/slack-integration/UpdateSlackIntegrationChannel.rb