Sha256: 5a2a932bcae4645116ba234552141ed4bf45ad45ad5d62898b55bd8bad8b6aa4

Contents?: true

Size: 475 Bytes

Versions: 6

Compression:

Stored size: 475 Bytes

Contents

# Update a specific Org Config returns "OK" response

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

body = DatadogAPIClient::V2::OrgConfigWriteRequest.new({
  data: DatadogAPIClient::V2::OrgConfigWrite.new({
    attributes: DatadogAPIClient::V2::OrgConfigWriteAttributes.new({
      value: "UTC",
    }),
    type: DatadogAPIClient::V2::OrgConfigType::ORG_CONFIGS,
  }),
})
p api_instance.update_org_config("monitor_timezone", body)

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
datadog_api_client-2.28.1 examples/v2/organizations/UpdateOrgConfig.rb
datadog_api_client-2.27.1 examples/v2/organizations/UpdateOrgConfig.rb
datadog_api_client-2.26.1 examples/v2/organizations/UpdateOrgConfig.rb
datadog_api_client-2.26.0 examples/v2/organizations/UpdateOrgConfig.rb
datadog_api_client-2.25.0 examples/v2/organizations/UpdateOrgConfig.rb
datadog_api_client-2.24.0 examples/v2/organizations/UpdateOrgConfig.rb