Sha256: ce14bc3acf264d50045f9484fd0fdbd3d74b71e5b2237a2a839691cbb69fa445

Contents?: true

Size: 377 Bytes

Versions: 2

Compression:

Stored size: 377 Bytes

Contents

require "datadog_api_client"
api_instance = DatadogAPIClient::V2::UsersAPI.new
user_id = "00000000-0000-9999-0000-000000000000" # String | The ID of the user.

begin
  # Get a user organization
  result = api_instance.list_user_organizations(user_id)
  p result
rescue DatadogAPIClient::V2::APIError => e
  puts "Error when calling UsersAPI->list_user_organizations: #{e}"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
datadog_api_client-1.8.0 examples/generated/v2/users/ListUserOrganizations.rb
datadog_api_client-1.7.0 examples/generated/v2/users/ListUserOrganizations.rb