Module: Anthropic::Models::Beta::Organization::UserUpdateParams::Role

Extended by:
Internal::Type::Enum
Defined in:
lib/anthropic/models/beta/organization/user_update_params.rb,
sig/anthropic/models/beta/organization/user_update_params.rbs

Overview

New role for the User.

The accepted values depend on the organization type. Console and API organizations accept user, developer, billing, and claude_code_user; admin cannot be assigned through the API. Claude Enterprise organizations accept user and managed; changing a User's role to managed requires the write:rbac_groups scope in addition to write:members.

Constant Summary collapse

BILLING =

Returns:

  • (:billing)
:billing
CLAUDE_CODE_USER =

Returns:

  • (:claude_code_user)
:claude_code_user
DEVELOPER =

Returns:

  • (:developer)
:developer
MANAGED =

Returns:

  • (:managed)
:managed
USER =

Returns:

  • (:user)
:user

Class Method Summary collapse

Methods included from Internal::Type::Enum

==, ===, coerce, dump, hash, inspect, to_sorbet_type

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Class Method Details

.values ⇒ Array<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/anthropic/models/beta/organization/user_update_params.rb', line 56