examples/v1/users/UpdateUser.rb in datadog_api_client-2.12.0 vs examples/v1/users/UpdateUser.rb in datadog_api_client-2.13.0
- old
+ new
@@ -2,10 +2,10 @@
require "datadog_api_client"
api_instance = DatadogAPIClient::V1::UsersAPI.new
body = DatadogAPIClient::V1::User.new({
- access_role: DatadogAPIClient::V1::AccessRole::STANDARD,
+ access_role: DatadogAPIClient::V1::AccessRole::READ_ONLY,
disabled: false,
email: "test@datadoghq.com",
handle: "test@datadoghq.com",
name: "test user",
})