Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 1.32 KB

UpdateUser.md

File metadata and controls

27 lines (20 loc) · 1.32 KB

TalonOne::UpdateUser

Properties

Name Type Description Notes
name String Name of the user. [optional]
state String The state of the user. - `deactivated`: The user has been deactivated. - `active`: The user is active. Note: Only `admin` users can update the state of another user. [optional]
is_admin Boolean Indicates whether the user is an `admin`. [optional]
policy String Indicates the access level of the user. [optional]
roles Array<Integer> A list of the IDs of the roles assigned to the user. Note: To find the ID of a role, use the List roles endpoint. [optional]
application_notification_subscriptions Object Application notifications that the user is subscribed to. [optional]

Code Sample

require 'TalonOne'

instance = TalonOne::UpdateUser.new(name: John Doe,
                                 state: deactivated,
                                 is_admin: false,
                                 policy: ,
                                 roles: [1, 3],
                                 application_notification_subscriptions: null)