Sha256: 84cdb9fea67959e63b48381a8768bdd22dd87178703d7c1859e8a0346db7dc3d

Contents?: true

Size: 340 Bytes

Versions: 2

Compression:

Stored size: 340 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 user details
  result = api_instance.get_user(user_id)
  p result
rescue DatadogAPIClient::V2::APIError => e
  puts "Error when calling UsersAPI->get_user: #{e}"
end

Version data entries

2 entries across 2 versions & 1 rubygems

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