Sha256: 2d82cac2fb793196926c39b5a15a66b37a221709c6be24d5a1ff525a2a17d57c

Contents?: true

Size: 321 Bytes

Versions: 16

Compression:

Stored size: 321 Bytes

Contents

# Create a user returns null access role

require "datadog_api_client"
api_instance = DatadogAPIClient::V1::UsersAPI.new

body = DatadogAPIClient::V1::User.new({
  access_role: nil,
  disabled: false,
  email: "test@datadoghq.com",
  handle: "test@datadoghq.com",
  name: "test user",
})
p api_instance.create_user(body)

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
datadog_api_client-2.28.1 examples/v1/users/CreateUser_266604071.rb
datadog_api_client-2.27.1 examples/v1/users/CreateUser_266604071.rb
datadog_api_client-2.26.1 examples/v1/users/CreateUser_266604071.rb
datadog_api_client-2.26.0 examples/v1/users/CreateUser_266604071.rb
datadog_api_client-2.25.0 examples/v1/users/CreateUser_266604071.rb
datadog_api_client-2.24.0 examples/v1/users/CreateUser_266604071.rb
datadog_api_client-2.22.0 examples/v1/users/CreateUser_266604071.rb
datadog_api_client-2.21.0 examples/v1/users/CreateUser_266604071.rb
datadog_api_client-2.20.0 examples/v1/users/CreateUser_266604071.rb
datadog_api_client-2.19.0 examples/v1/users/CreateUser_266604071.rb
datadog_api_client-2.18.0 examples/v1/users/CreateUser_266604071.rb
datadog_api_client-2.17.0 examples/v1/users/CreateUser_266604071.rb
datadog_api_client-2.16.0 examples/v1/users/CreateUser_266604071.rb
datadog_api_client-2.15.0 examples/v1/users/CreateUser_266604071.rb
datadog_api_client-2.14.0 examples/v1/users/CreateUser_266604071.rb
datadog_api_client-2.13.0 examples/v1/users/CreateUser_266604071.rb