OneLogin website screenshot

OneLogin

OneLogin is an identity and access management platform providing single sign-on (SSO), multi-factor authentication, user provisioning, and a RESTful API for managing users, roles, applications, MFA, branding, connectors, reports, SAML assertions, smart hooks, and Vigilance AI.

1 APIs 0 Features
IdentityAccess ManagementSingle Sign-OnMulti-Factor AuthenticationSAMLOAuth

APIs

OneLogin API

OneLogin REST API for identity and access management. The API follows RESTful principles, is secured by OAuth 2.0, and provides JSON messages with search, pagination, sorting, a...

Collections

Pricing Plans

Onelogin Plans Pricing

3 plans

PLANS

Rate Limits

Onelogin Rate Limits

5 limits

RATE LIMITS

FinOps

Resources

👥
GitHubOrganization
GitHubOrganization
🔗
LinkedIn
LinkedIn
🔗
Website
Website
🔗
Documentation
Documentation
🌐
DeveloperPortal
DeveloperPortal

Sources

Raw ↑
opencollection: 1.0.0
info:
  name: OneLogin API
  version: '1.0'
request:
  auth:
    type: bearer
    token: '{{bearerToken}}'
items:
- info:
    name: OAuth
    type: folder
  items:
  - info:
      name: Generate access token
      type: http
    http:
      method: POST
      url: https://{subdomain}.onelogin.com/auth/oauth2/v2/token
      body:
        type: json
        data: '{}'
    docs: Generate an OAuth 2.0 bearer token using client credentials.
  - info:
      name: Revoke access token
      type: http
    http:
      method: POST
      url: https://{subdomain}.onelogin.com/auth/oauth2/revoke
    docs: Revoke access token
- info:
    name: Users
    type: folder
  items:
  - info:
      name: List users
      type: http
    http:
      method: GET
      url: https://{subdomain}.onelogin.com/api/1/users
      params:
      - name: limit
        value: ''
        type: query
      - name: page
        value: ''
        type: query
    docs: List users
  - info:
      name: Create user
      type: http
    http:
      method: POST
      url: https://{subdomain}.onelogin.com/api/1/users
      body:
        type: json
        data: '{}'
    docs: Create user
  - info:
      name: Get user by ID
      type: http
    http:
      method: GET
      url: https://{subdomain}.onelogin.com/api/1/users/:id
      params:
      - name: id
        value: ''
        type: path
    docs: Get user by ID
  - info:
      name: Update user by ID
      type: http
    http:
      method: PUT
      url: https://{subdomain}.onelogin.com/api/1/users/:id
      params:
      - name: id
        value: ''
        type: path
      body:
        type: json
        data: '{}'
    docs: Update user by ID
  - info:
      name: Delete user by ID
      type: http
    http:
      method: DELETE
      url: https://{subdomain}.onelogin.com/api/1/users/:id
      params:
      - name: id
        value: ''
        type: path
    docs: Delete user by ID
  - info:
      name: Get apps for a user
      type: http
    http:
      method: GET
      url: https://{subdomain}.onelogin.com/api/1/users/:id/apps
      params:
      - name: id
        value: ''
        type: path
    docs: Get apps for a user
  - info:
      name: Get roles for a user
      type: http
    http:
      method: GET
      url: https://{subdomain}.onelogin.com/api/1/users/:id/roles
      params:
      - name: id
        value: ''
        type: path
    docs: Get roles for a user
  - info:
      name: Assign role to user
      type: http
    http:
      method: POST
      url: https://{subdomain}.onelogin.com/api/1/users/:id/roles
      params:
      - name: id
        value: ''
        type: path
    docs: Assign role to user
  - info:
      name: Remove role from user
      type: http
    http:
      method: DELETE
      url: https://{subdomain}.onelogin.com/api/1/users/:id/roles/:role_id
      params:
      - name: id
        value: ''
        type: path
      - name: role_id
        value: ''
        type: path
    docs: Remove role from user
  - info:
      name: Set user password
      type: http
    http:
      method: PUT
      url: https://{subdomain}.onelogin.com/api/1/users/:id/password
      params:
      - name: id
        value: ''
        type: path
    docs: Set user password
  - info:
      name: Set custom attribute
      type: http
    http:
      method: PUT
      url: https://{subdomain}.onelogin.com/api/1/users/:id/custom_attributes
      params:
      - name: id
        value: ''
        type: path
    docs: Set custom attribute
  - info:
      name: Set user state
      type: http
    http:
      method: PUT
      url: https://{subdomain}.onelogin.com/api/1/users/:id/state
      params:
      - name: id
        value: ''
        type: path
    docs: Set user state
  - info:
      name: Log user out
      type: http
    http:
      method: POST
      url: https://{subdomain}.onelogin.com/api/1/users/:id/logout
      params:
      - name: id
        value: ''
        type: path
    docs: Log user out
  - info:
      name: Lock user account
      type: http
    http:
      method: POST
      url: https://{subdomain}.onelogin.com/api/1/users/:id/lock
      params:
      - name: id
        value: ''
        type: path
    docs: Lock user account
- info:
    name: Roles
    type: folder
  items:
  - info:
      name: Get roles
      type: http
    http:
      method: GET
      url: https://{subdomain}.onelogin.com/api/1/roles
    docs: Get roles
  - info:
      name: List roles (v2)
      type: http
    http:
      method: GET
      url: https://{subdomain}.onelogin.com/api/2/roles
    docs: List roles (v2)
  - info:
      name: Create role
      type: http
    http:
      method: POST
      url: https://{subdomain}.onelogin.com/api/2/roles
    docs: Create role
  - info:
      name: Get role by ID
      type: http
    http:
      method: GET
      url: https://{subdomain}.onelogin.com/api/2/roles/:id
      params:
      - name: id
        value: ''
        type: path
    docs: Get role by ID
  - info:
      name: Update role
      type: http
    http:
      method: PUT
      url: https://{subdomain}.onelogin.com/api/2/roles/:id
      params:
      - name: id
        value: ''
        type: path
    docs: Update role
  - info:
      name: Delete role
      type: http
    http:
      method: DELETE
      url: https://{subdomain}.onelogin.com/api/2/roles/:id
      params:
      - name: id
        value: ''
        type: path
    docs: Delete role
- info:
    name: Apps
    type: folder
  items:
  - info:
      name: List apps
      type: http
    http:
      method: GET
      url: https://{subdomain}.onelogin.com/api/2/apps
    docs: List apps
  - info:
      name: Create app
      type: http
    http:
      method: POST
      url: https://{subdomain}.onelogin.com/api/2/apps
    docs: Create app
  - info:
      name: Get app by ID
      type: http
    http:
      method: GET
      url: https://{subdomain}.onelogin.com/api/2/apps/:id
      params:
      - name: id
        value: ''
        type: path
    docs: Get app by ID
  - info:
      name: Update app
      type: http
    http:
      method: PUT
      url: https://{subdomain}.onelogin.com/api/2/apps/:id
      params:
      - name: id
        value: ''
        type: path
    docs: Update app
  - info:
      name: Delete app
      type: http
    http:
      method: DELETE
      url: https://{subdomain}.onelogin.com/api/2/apps/:id
      params:
      - name: id
        value: ''
        type: path
    docs: Delete app
- info:
    name: SAML
    type: folder
  items:
  - info:
      name: Generate SAML assertion
      type: http
    http:
      method: POST
      url: https://{subdomain}.onelogin.com/api/1/saml_assertion
    docs: Generate SAML assertion
  - info:
      name: Verify factor for SAML
      type: http
    http:
      method: POST
      url: https://{subdomain}.onelogin.com/api/1/saml_assertion/verify_factor
    docs: Verify factor for SAML
- info:
    name: MFA
    type: folder
  items:
  - info:
      name: Get available auth factors
      type: http
    http:
      method: GET
      url: https://{subdomain}.onelogin.com/api/1/users/:id/otp_devices
      params:
      - name: id
        value: ''
        type: path
    docs: Get available auth factors
  - info:
      name: Enroll auth factor
      type: http
    http:
      method: POST
      url: https://{subdomain}.onelogin.com/api/1/users/:id/otp_devices
      params:
      - name: id
        value: ''
        type: path
    docs: Enroll auth factor
bundled: true