> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# OneLogin

> How to set up the OneLogin connector, plus the actions that are available.

![OneLogin](https://stackone-logos.com/api/onelogin/filled/svg)

Previewv1.2.0[See changelog](https://docs.stackone.com/connectors/onelogin/changelog.md)

[119 actions](#actions) · 1 auth method

IAM

## Getting Started

**1. Create or Select a Project**

Set up a new project or select an existing one. See [Organizations & Projects](https://docs.stackone.com/gateway/concepts/organizations-and-projects.md).

**2. Configure the Connector**

Enable the connector and create a Connector Profile in your project. See [Setup Connector Profile](https://docs.stackone.com/gateway/quickstart.md#setup-connector-profile).

> [card] [OAuth 2.0 (Client Credentials) · Connector Profile](https://docs.stackone.com/connectors/onelogin/guides/connector-profile/oauth-2-0-client-credentials.md)
>
> Create API credentials in OneLogin Administration > Developers > API Credentials. Select appropriate scopes for the oper...

**3. Link an Account**

Link an account [from the dashboard](https://docs.stackone.com/connect/managing-connectors/linking-accounts.md#link-from-the-dashboard) (or via [StackOne Hub](https://docs.stackone.com/embed/account-linking/overview)).

See the guide for the authentication type chosen in the Connector Profile:

> [card] [OAuth 2.0 (Client Credentials) · Link Account](https://docs.stackone.com/connectors/onelogin/guides/link-account/oauth-2-0-client-credentials.md)

**4. Use Actions**

Connect an AI platform to the linked account's actions. See [AI Platforms](https://docs.stackone.com/ai-platforms/overview.md).

Other ways to call actions are listed in [Protocols & SDKs](https://docs.stackone.com/connect/protocols-and-sdks.md).

## Actions

119 actions

ActionDescription

List Users`onelogin_list_users`

Retrieve a paginated list of users

Get User`onelogin_get_user`

Retrieve a single user by ID

Create User`onelogin_create_user`

Create a new user in OneLogin

Update User`onelogin_update_user`

Update an existing user by ID

Delete User`onelogin_delete_user`

Delete a user by ID

Unlock User`onelogin_unlock_user`

Unlock a locked user account by user ID

Get User Apps`onelogin_get_user_apps`

Get applications assigned to a user

List Custom Attributes`onelogin_list_custom_attributes`

Retrieve all custom user attribute definitions

Get Custom Attribute`onelogin_get_custom_attribute`

Retrieve a single custom attribute definition by ID

Create Custom Attribute`onelogin_create_custom_attribute`

Create a new custom user attribute definition

Update Custom Attribute`onelogin_update_custom_attribute`

Update an existing custom attribute definition by ID

Delete Custom Attribute`onelogin_delete_custom_attribute`

Delete a custom attribute definition by ID

Get User Privileges`onelogin_get_user_privileges`

Retrieve privileges assigned to a user

Get User Delegated Privileges`onelogin_get_user_delegated_privileges`

Retrieve delegated privileges for a user

List Apps`onelogin_list_apps`

List all applications in OneLogin

Get App`onelogin_get_app`

Retrieve a single application by ID

Create App`onelogin_create_app`

Create a new application in OneLogin

Update App`onelogin_update_app`

Update an existing application in OneLogin

Delete App`onelogin_delete_app`

Delete an application from OneLogin

Delete App Parameter`onelogin_delete_app_parameter`

Delete a parameter from an application

List App Users`onelogin_list_app_users`

List users assigned to an application

List App Rules`onelogin_list_app_rules`

List all rules for an application

Get App Rule`onelogin_get_app_rule`

Retrieve a single app rule by ID

Create App Rule`onelogin_create_app_rule`

Create a new rule for an application

Update App Rule`onelogin_update_app_rule`

Update an existing rule for an application

Delete App Rule`onelogin_delete_app_rule`

Delete a rule from an application

List App Rule Conditions`onelogin_list_app_rule_conditions`

List available conditions for app rules

List App Rule Condition Operators`onelogin_list_app_rule_condition_operators`

List operators for a specific rule condition

List App Rule Condition Values`onelogin_list_app_rule_condition_values`

List possible values for a specific rule condition

List App Rule Actions`onelogin_list_app_rule_actions`

List available actions for app rules

List App Rule Action Values`onelogin_list_app_rule_action_values`

List possible values for a specific rule action

Sort App Rules`onelogin_sort_app_rules`

Reorder rules for an application

List Roles`onelogin_list_roles`

List all roles in OneLogin

Get Role`onelogin_get_role`

Retrieve a specific role by ID

Create Role`onelogin_create_role`

Create a new role in OneLogin

Update Role`onelogin_update_role`

Update an existing role in OneLogin

Delete Role`onelogin_delete_role`

Delete a role from OneLogin

Get Role Apps`onelogin_get_role_apps`

Get applications assigned to a role

Set Role Apps`onelogin_set_role_apps`

Set the applications assigned to a role

List Role Users`onelogin_list_role_users`

List users assigned to a role

Add Role Users`onelogin_add_role_users`

Add users to a role

Remove Role Users`onelogin_remove_role_users`

Remove users from a role

List Role Admins`onelogin_list_role_admins`

List administrators of a role

Add Role Admins`onelogin_add_role_admins`

Add administrators to a role

Remove Role Admins`onelogin_remove_role_admins`

Remove administrators from a role

List Groups`onelogin_list_groups`

List all groups in OneLogin

Get Group`onelogin_get_group`

Retrieve a specific group by ID

List Events`onelogin_list_events`

List events in OneLogin

Get Event`onelogin_get_event`

Retrieve a specific event by ID

List Event Types`onelogin_list_event_types`

List all available event types in OneLogin

List API Authorization Servers`onelogin_list_auth_servers`

Retrieve all API authorization servers configured in OneLogin

Get API Authorization Server`onelogin_get_auth_server`

Retrieve a specific API authorization server by its ID

Create API Authorization Server`onelogin_create_auth_server`

Create a new API authorization server in OneLogin

Update API Authorization Server`onelogin_update_auth_server`

Update an existing API authorization server by its ID

Delete API Authorization Server`onelogin_delete_auth_server`

Delete an API authorization server by its ID

List Access Token Claims`onelogin_list_access_token_claims`

Retrieve all access token claims for a specific API authorization server

Create Access Token Claim`onelogin_create_access_token_claim`

Create a new access token claim on an API authorization server

Update Access Token Claim`onelogin_update_access_token_claim`

Update an existing access token claim on an API authorization server

Delete Access Token Claim`onelogin_delete_access_token_claim`

Delete an access token claim from an API authorization server

List API Authorization Scopes`onelogin_list_auth_scopes`

Retrieve all scopes for a specific API authorization server

Create API Authorization Scope`onelogin_create_auth_scope`

Create a new scope on an API authorization server

Update API Authorization Scope`onelogin_update_auth_scope`

Update an existing scope on an API authorization server

Delete API Authorization Scope`onelogin_delete_auth_scope`

Delete a scope from an API authorization server

List API Authorization Client Apps`onelogin_list_auth_client_apps`

Retrieve all client applications assigned to an API authorization server

List Smart Hooks`onelogin_list_hooks`

Retrieve all smart hooks configured in OneLogin

Get Smart Hook`onelogin_get_hook`

Retrieve a specific smart hook by its ID

Get Smart Hook Logs`onelogin_get_hook_logs`

Retrieve execution logs for a specific smart hook

Create Smart Hook`onelogin_create_hook`

Create a new smart hook in OneLogin

Update Smart Hook`onelogin_update_hook`

Update an existing smart hook by its ID

Delete Smart Hook`onelogin_delete_hook`

Delete a smart hook by its ID

List Smart Hook Environment Variables`onelogin_list_hook_env_vars`

Retrieve all smart hook environment variables

Get Smart Hook Environment Variable`onelogin_get_hook_env_var`

Retrieve a specific smart hook environment variable by its ID

Create Smart Hook Environment Variable`onelogin_create_hook_env_var`

Create a new environment variable for smart hooks

Update Smart Hook Environment Variable`onelogin_update_hook_env_var`

Update an existing smart hook environment variable

Delete Smart Hook Environment Variable`onelogin_delete_hook_env_var`

Delete a smart hook environment variable by its ID

List User Mappings`onelogin_list_user_mappings`

List all user mappings in OneLogin

Get User Mapping`onelogin_get_user_mapping`

Retrieve a single user mapping by ID

Create User Mapping`onelogin_create_user_mapping`

Create a new user mapping in OneLogin

Update User Mapping`onelogin_update_user_mapping`

Update an existing user mapping in OneLogin

Delete User Mapping`onelogin_delete_user_mapping`

Delete a user mapping by ID

List Mapping Conditions`onelogin_list_mapping_conditions`

List all available mapping condition types

List Mapping Condition Operators`onelogin_list_mapping_condition_operators`

List available operators for a specific mapping condition type

List Mapping Condition Values`onelogin_list_mapping_condition_values`

List available values for a specific mapping condition type

List Mapping Actions`onelogin_list_mapping_actions`

List all available mapping action types

List Mapping Action Values`onelogin_list_mapping_action_values`

List available values for a specific mapping action type

Sort User Mappings`onelogin_sort_user_mappings`

Reorder user mappings by specifying their evaluation order

List Brands`onelogin_list_brands`

List all brands in OneLogin

Get Brand`onelogin_get_brand`

Retrieve a single brand by ID

Create Brand`onelogin_create_brand`

Create a new brand in OneLogin

Update Brand`onelogin_update_brand`

Update an existing brand in OneLogin

Get Brand Apps`onelogin_get_brand_apps`

List applications associated with a specific brand

List Message Templates`onelogin_list_message_templates`

List all message templates for a brand

Get Message Template By Type`onelogin_get_message_template_by_type`

Retrieve a message template by its type for a brand

Get Message Template By Type And Locale`onelogin_get_message_template_by_type_locale`

Retrieve a message template by type and locale for a brand

Get Master Template By Type`onelogin_get_master_template_by_type`

Retrieve a master email template by its type

Get Master Template By Type And Locale`onelogin_get_master_template_by_type_locale`

Retrieve a master email template by type and locale

List Custom Error Message Languages`onelogin_list_email_languages`

List all available languages for custom error messages

List Connectors`onelogin_list_connectors`

List all available connectors in OneLogin

List Reports`onelogin_list_reports`

List all available reports in OneLogin

Run Report In Background`onelogin_run_report_background`

Run a report asynchronously in the background

Track Risk Event`onelogin_track_risk_event`

Track a risk event for Vigilance AI analysis

Get Risk Score`onelogin_get_risk_score`

Get a risk score for a given context using Vigilance AI

List Risk Rules`onelogin_list_risk_rules`

List all Vigilance AI risk rules in OneLogin

Get Risk Rule`onelogin_get_risk_rule`

Retrieve a single Vigilance AI risk rule by ID

Create Risk Rule`onelogin_create_risk_rule`

Create a new Vigilance AI risk rule in OneLogin

Update Risk Rule`onelogin_update_risk_rule`

Update an existing Vigilance AI risk rule in OneLogin

Delete Risk Rule`onelogin_delete_risk_rule`

Delete a Vigilance AI risk rule from OneLogin

Get Score Insights`onelogin_get_score_insights`

Retrieve risk score insights and analytics from Vigilance AI

Generate Invite Link`onelogin_generate_invite_link`

Generate an invite link for a user by email

Send Invite Link`onelogin_send_invite_link`

Send an invite link email to a user

Get Unified Credentials`onelogin_unified_get_me`

Get the current OneLogin connection's unified credentials and identity.

List Unified Groups`onelogin_unified_list_groups`

List unified groups in OneLogin.

Get Unified Group`onelogin_unified_get_group`

Get a unified OneLogin group by ID.

List Unified Resource Types`onelogin_unified_list_resource_types`

List unified resource types in OneLogin.

List Unified Resource Users`onelogin_unified_list_resource_users`

List unified resource users in OneLogin.

List Unified Roles`onelogin_unified_list_roles`

List unified roles in OneLogin.

Get Unified Role`onelogin_unified_get_role`

Get a unified OneLogin role by ID.

List Unified Users`onelogin_unified_list_users`

List unified users in OneLogin.

Get Unified User`onelogin_unified_get_user`

Get a unified OneLogin user by ID.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.