1. User Management
  • Overview
  • Application Guides
    • Frontend
      • Get Started - React App
      • Get Started - HTML and JS
      • Get Started - Angular JS
      • Get Started - Next JS App
    • Backend
      • Get Started - Node JS
      • Get Started - Golang
      • Get Started - ASP.NET
      • Get Started - JAVA
  • Dashboard
    • API Credentials
    • Organization
    • Social Login
    • Customize Email Template
    • Configure Custom Domain
    • IT Admin Portal
  • Authentication
    • Login Widget
    • Magic Link
    • Google Social Login
    • Multi-Factor Authentication
    • Single Sign-On Overview
    • Setup SSO Connection
  • Security
    • Overview
    • Authentication
      • Password Hashing and Storage
      • Multi-Factor Authentication Methods and Implementation
      • Session Management
    • Attack Protection
      • Bot Detection
      • Breached Password Detection
      • Brute Force Protection
      • Log Events
      • Secure JSON Web Tokens (JWT)
      • Secure OpenID Connect (OIDC)
      • Suspicious IP Throttling
    • Data Security
      • Data Encryption At Rest and In Transit
      • Secure Storage of Secrets (Keys, Credentials)
      • Sensitive Data Handling
    • Infrastructure
      • Security Considerations for Cloud Provider or Deployment Model
      • Threat Modeling
  • API References
    • Authentication
      • MagicLink
        • Email a Magic Link
        • Resend Email Magic Link
        • Verify Magic Link
        • Ping Status
      • Magic Auth Code
        • Email a Magic Auth Code
        • Resend Magic Auth Code
        • Verify Magic Auth Code
      • Phone Authentication
        • Send Magic Auth Code via SMS
        • Resend Magic Auth Code via SMS
        • Phone Magic Auth Verify
      • PassKey
        • Initiate Passkey Login
        • Passkey Registration Initialize
        • Finish Passkey Authentication
        • Complete Passkey Registration
        • Check User Passkey Authentication Status
        • List User PassKey Credentials
        • Update Passkey Name
        • Delete Associated Passkey
      • GET Auth Status
    • Token
      • Refresh Token
      • Access Token By Auth Code
    • Mutli-Factor Authentication (MFA)
      • MFA Access Token
      • List of Authenticators
      • MFA Enroll TOTP
      • Initiate MFA
      • QR Code Image API
      • Validate MFA Token
      • Get Backup Code
    • Role And Permission
      • List All Roles
      • List All Permission
      • Create New Role
      • Update Existing Role
      • Update Permission By Permission Id
      • Remove Organization Role By Role Id
      • Remove Organization Permission By Permission Id
    • User Management
      • List All Users
        GET
      • GET User By User Id
        GET
      • GET User by User Email Address
        GET
      • Create a User
        POST
      • Update User by User Id
        PUT
      • Verify User Status By User Id
        POST
      • Delete User By User Id
        DELETE
      • Manage User Roles
        PUT
      • GET Users Organizations
        GET
      • GET User Login Logs
        GET
    • Organization
      • Add New Organization
      • Get Organization
      • Get All Organization
      • Update Organization
      • Delete Organization
      • GET Configuration By Client Id
      • GET Configuration By Custom Domain
  1. User Management

GET Users Organizations

GET
https://api.ssojet.com/api/account/identity/users/{{userid}}/organizations

GET User Organizations#

This endpoint return a user assisocated organizations . Replace the userid path parameter with the ID of the user, and set the client_id query parameter to the appropriate string value.

Response#

The response will contain the updated details of the role after the successful update operation.
Response Status Code
200 OK: Magic link sent successfully.
400 Bad Request: Invalid email format.
500 Internal Server Error: An error occurred while processing the request.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Query Params
client_id
string 
required
This identifies the application making the request to the SSOJET server. You can find your client ID on the API Keys page in the dashboard
Example:
string
Header Params
Content-Type
string 
optional
Default:
application/json
User-Agent
string 
optional
Default:
SSOjet/1.0.0 (https://ssojet.com)

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://api.ssojet.com/api/account/identity/users/{{userid}}/organizations?client_id=string&client_id=' \
--header 'User-Agent: SSOjet/1.0.0 (https://ssojet.com)' \
--header 'Content-Type: application/json'

Responses

⚪0GET Users Organizations
application/json
Body
id
string 
required
email_id
string 
required
organizations
array [object {9}] 
required
id
string 
optional
Name
string 
optional
WhiteListDomains
null 
optional
AllowProfilesOutsideOrganization
boolean 
optional
domain
string 
optional
WorkspaceName
string 
optional
roles
array [object {3}] 
optional
is_active
boolean 
optional
status
string 
optional
Example
{
  "id": "6694c133565dfee5166d1cbb",
  "email_id": "user@example.com",
  "organizations": [
    {
      "id": "6694c825d1ed074fa2eddafa",
      "Name": "test0121",
      "WhiteListDomains": null,
      "AllowProfilesOutsideOrganization": false,
      "domain": "",
      "WorkspaceName": "",
      "roles": [
        {
          "role_id": "668e7e5946b448ab754b44ac",
          "role_name": "Admin",
          "permissions": [
            "Team View",
            "Team Manage",
            "Manage SSO Connection"
          ]
        }
      ],
      "is_active": true,
      "status": "active"
    }
  ]
}
Modified at 2024-07-22 11:04:03
Previous
Manage User Roles
Next
GET User Login Logs
Built with