Sha256: ae58a975ab4daf1598a9137b8e98e8ccaff8728183e3d0cf5cd210b40b35ca64

Contents?: true

Size: 326 Bytes

Versions: 2

Compression:

Stored size: 326 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
  # Disable a user
  api_instance.disable_user(user_id)
rescue DatadogAPIClient::V2::APIError => e
  puts "Error when calling UsersAPI->disable_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/DisableUser.rb
datadog_api_client-1.7.0 examples/generated/v2/users/DisableUser.rb