Sha256: 498b06b0aba815f3ed3f83dd8f0f99e665796833c43ffa394db5da033477b332

Contents?: true

Size: 372 Bytes

Versions: 2

Compression:

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

Version data entries

2 entries across 2 versions & 1 rubygems

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