Update User
Update a user in your SentinelOne environment.
Options
| Field | Definition | Type | Required | 
|---|---|---|---|
| 
                                                                         Scope  | 
                                                                    
                                                                         The scope of the user. Options are based on the connection user permissions.  | 
                                                                    Dropdown | FALSE | 
| 
                                                                         Target  | 
                                                                    
                                                                         Options are fetched dynamically based on the selected scope and connection user permissions.  | 
                                                                    Dropdown | FALSE | 
| 
                                                                         Update Role  | 
                                                                    
                                                                         Choose one of the following options: 
 When the Update Role option is set to No and the user changes the scope to one that doesn't include their current role, their role automatically defaults to Viewer.  | 
                                                                    Dropdown | TRUE | 
Input
| Field | Definition | Type | Required | 
|---|---|---|---|
| 
                                                                     Update By  | 
                                                            |||
| 
                                                                     User ID  | 
                                                                
                                                                     Unique identifier of the user.  | 
                                                                Text | TRUE | 
| 
                                                                     User  | 
                                                            |||
| 
                                                                     Role  | 
                                                                
                                                                     The role of the user. This field appears when you select Yes from the Update Role field.  | 
                                                                Dropdown | TRUE | 
| 
                                                                     Full Name  | 
                                                                
                                                                     The full name of the user.  | 
                                                                Text | FALSE | 
| 
                                                                     Can Generate ApiToken  | 
                                                                
                                                                     Indicates if the user can generate an API token.  | 
                                                                True/False | FALSE | 
Output
| Field | Definition | Type | 
|---|---|---|
| 
                                                                     User  | 
                                                            ||
| 
                                                                     ID  | 
                                                                
                                                                     Unique identifier of the user.  | 
                                                                Text | 
| 
                                                                     API Token  | 
                                                                Object | |
| 
                                                                     Created At  | 
                                                                
                                                                     The date and time when the API token was created.  | 
                                                                Date & Time | 
| 
                                                                     Expires At  | 
                                                                
                                                                     The date and time when the API token expires.  | 
                                                                Date & Time | 
| 
                                                                     Can Generate ApiToken  | 
                                                                
                                                                     If true, the user can generate an API token.  | 
                                                                True/False | 
| 
                                                                     Elevated Session DurationMinutes  | 
                                                                
                                                                     Defines the number of minutes a user can perform protected actions after session elevation.  | 
                                                                Number | 
| 
                                                                     Date Joined  | 
                                                                
                                                                     The date and time when the user joined.  | 
                                                                Date & Time | 
| 
                                                                     | 
                                                                
                                                                     The email address of the user.  | 
                                                                Text | 
| 
                                                                     Is External Login User  | 
                                                                
                                                                     If true, the user is an external login user.  | 
                                                                True/False | 
| 
                                                                     Email Read Only  | 
                                                                
                                                                     If true, the email can't be modified.  | 
                                                                True/False | 
| 
                                                                     Email Verified  | 
                                                                
                                                                     If true, user verification completed successfully.  | 
                                                                True/False | 
| 
                                                                     Agreed Eula  | 
                                                                
                                                                     If true, the user has agreed to end-user license agreement (EULA) for their sites.  | 
                                                                True/False | 
| 
                                                                     Agreement URL  | 
                                                                
                                                                     A hyperlink to take the user to the end-user license agreement.  | 
                                                                Text | 
| 
                                                                     First Login  | 
                                                                
                                                                     The date and time of the user's first login.  | 
                                                                Date & Time | 
| 
                                                                     Full Name  | 
                                                                
                                                                     The full name of the user.  | 
                                                                Text | 
| 
                                                                     Full Name Read Only  | 
                                                                
                                                                     If true, the full name can't be modified.  | 
                                                                True/False | 
| 
                                                                     Global Organization ID  | 
                                                                
                                                                     The global organization ID of the user.  | 
                                                                Text | 
| 
                                                                     Global User ID  | 
                                                                
                                                                     The global user ID of the user.  | 
                                                                Text | 
| 
                                                                     Is System  | 
                                                                
                                                                     If true, the user is a system account.  | 
                                                                True/False | 
| 
                                                                     Last Login  | 
                                                                
                                                                     The date and time of the user's last login.  | 
                                                                Date & Time | 
| 
                                                                     Primary Two Factor Authentication Method  | 
                                                                
                                                                     The primary two-factor authentication method of the user.  | 
                                                                Text | 
| 
                                                                     Scope  | 
                                                                
                                                                     The scope of the user.  | 
                                                                Text | 
| 
                                                                     Source  | 
                                                                
                                                                     The source of the user creation.  | 
                                                                Text | 
| 
                                                                     Two Factor Authentication Configured  | 
                                                                
                                                                     If true, the user is configured for two-factor authentication.  | 
                                                                True/False | 
| 
                                                                     Two Factor Authentication Enabled  | 
                                                                
                                                                     If true, the user is enabled for two-factor authentication  | 
                                                                True/False | 
| 
                                                                     Two Factor Authentication Enabled Read Only  | 
                                                                
                                                                     If true, the enabled status of two-factor authentication for the user can't be modified.  | 
                                                                True/False | 
| 
                                                                     Two Factor Authentication Status  | 
                                                                
                                                                     The status of two-factor authentication of the user.  | 
                                                                Text | 
| 
                                                                     Scope Roles  | 
                                                                List of Objects | |
| 
                                                                     Account Name  | 
                                                                
                                                                     The account name that's associated with the user's scope. This field appears when you select Account/Tenant from the Scope option.  | 
                                                                Text | 
| 
                                                                     ID  | 
                                                                
                                                                     The identifier of the scope that's assigned to the user.  | 
                                                                Number | 
| 
                                                                     Site Name  | 
                                                                
                                                                     The site name of the scope that's assigned to the user.  | 
                                                                Text | 
| 
                                                                     Role ID  | 
                                                                
                                                                     The identifier of the role that's assigned to the user.  | 
                                                                Text | 
