User Management
API authentication using Bearer tokens. Include your API token in the Authorization header:
Authorization: Bearer <your-api-token>
Tokens can be obtained from the Opsera platform's API token management interface.
Search query in the format email=value. Supports exact email matches and wildcard patterns.
- Examples:
[email protected](exact match)email=*@opsera.io(all users in the domain)email=john*@opsera.io(all users starting with "john")email=*engineer*@opsera.io(all users with "engineer" in the email)
[email protected]Successfully retrieved user
Opsera User ID. Used as a primary key for user-related operations.
5e1cbf251c26d68f7ce6361eList of application IDs that the user has access to. Each ID represents a specific application in the system.
["60633793310cdb13fa85afa5","608304e85d1e526c80bb9749"]List of tool IDs that the user has access to. Tools represent different functionalities or integrations available to the user.
["61eafd724868abd5193bfd4c","61f70a5b61b870001112d37c"]User's first name or given name, used for identification and display purposes.
JohnUser's last name or family name, used for identification and display purposes.
DoeUser's email address, used for authentication and communication. Must be unique within the system.
[email protected]The Single Sign-On (SSO) system used for user authentication. Indicates how the user authenticates with the system.
oktaName of the organization the user belongs to. Used for organizational context and access control.
Example Inc.User's organizational division or department. Helps in categorizing users within the organizational structure.
EngineeringThe domain associated with the user's organization. Used for authentication and organization-specific features.
Example DomainTimestamp indicating when the user account was created. Stored in ISO 8601 format.
2020-01-13T19:04:05.632ZTimestamp indicating when the user account was last modified. Stored in ISO 8601 format.
2024-10-28T10:08:20.705ZList of group IDs that the user belongs to. Groups provide additional access control and organization capabilities.
Indicates whether the user account is currently active. Inactive accounts cannot access the system.
trueBad request - Invalid search query or multiple users found
Forbidden - User doesn't have permission to search users
User not found
Internal server error
API authentication using Bearer tokens. Include your API token in the Authorization header:
Authorization: Bearer <your-api-token>
Tokens can be obtained from the Opsera platform's API token management interface.
User's email address. Must be a valid email format and will be used for authentication and communication.
[email protected]User's first name or given name. Used for identification and display purposes throughout the system.
JohnUser's last name.
DoeUser's preferred name or nickname. This is an optional field that can be used instead of firstName in display contexts.
JohnnyUser's job title or position within the organization. Helps in understanding the user's role and responsibilities.
Senior Software EngineerUser's physical location or office site. Useful for organizational and administrative purposes.
HeadquartersUser's organizational division or department. Helps in categorizing users within the organizational structure.
EngineeringSpecifies the user's access level in the system. Must be one of:
Administrators: Full system access and control.PowerUsers: Extended privileges for managing resources.Users: Standard access to system features.Auditors: Read-only access for audit purposes.SecurityManagers: Special security access for security-related functions.
UsersPossible values: List of group IDs the user should be added to. Groups provide additional access control and organization capabilities.
["507f1f77bcf86cd799439011","507f1f77bcf86cd799439012"]User created successfully
User creation completeBad Request - Invalid input data
Forbidden - User lacks permission to create users
Internal server error
API authentication using Bearer tokens. Include your API token in the Authorization header:
Authorization: Bearer <your-api-token>
Tokens can be obtained from the Opsera platform's API token management interface.
The user identifier, which can be either a MongoDB ID or an email address.
- For MongoDB ID: Use the user's Opsera ID directly.
- For email: Use the user's complete email address.
{"value":"6449c988b5760b001e46c27f","summary":"MongoDB ID Example"}Successfully retrieved user
Opsera User ID. Used as a primary key for user-related operations.
507f1f77bcf86cd799439011List of application IDs that the user has access to. Each ID represents a specific application in the system.
["507f1f77bcf86cd799439011","507f1f77bcf86cd799439012"]List of tool IDs that the user has access to. Tools represent different functionalities or integrations available to the user.
["507f1f77bcf86cd799439013","507f1f77bcf86cd799439014"]User's first name or given name, used for identification and display purposes.
JaneUser's last name or family name, used for identification and display purposes.
SmithUser's email address, used for authentication and communication. Must be unique within the system.
[email protected]The Single Sign-On (SSO) system used for user authentication. Indicates how the user authenticates with the system.
exampleSsoName of the organization the user belongs to. Used for organizational context and access control.
Example CorporationUser's organizational division or department. Helps in categorizing users within the organizational structure.
EngineeringThe domain associated with the user's organization. Used for authentication and organization-specific features.
company.example.comTimestamp indicating when the user account was created. Stored in ISO 8601 format.
2023-11-01T12:00:00.000ZTimestamp indicating when the user account was last modified. Stored in ISO 8601 format.
2023-11-02T12:00:00.000ZList of group IDs that the user belongs to. Groups provide additional access control and organization capabilities.
Indicates whether the user account is currently active. Inactive accounts cannot access the system.
trueBad request - Invalid user ID
Forbidden - User doesn't have permission to view user details
User not found
Internal server error
API authentication using Bearer tokens. Include your API token in the Authorization header:
Authorization: Bearer <your-api-token>
Tokens can be obtained from the Opsera platform's API token management interface.
The user identifier, which can be either a MongoDB ID or an email address.
- For MongoDB ID: Use the user's Opsera ID directly.
- For email: Use the user's complete email address.
{"value":"507f1f77bcf86cd799439011","summary":"MongoDB ID Example"}User deactivated successfully.
Confirmation message indicating the user was deactivated.
User deactivation completed: trueBad Request - Invalid user ID or deactivation failed.
Forbidden - User doesn't have permission to deactivate users.
Unprocessable Entity - Missing required parameters.
Internal Server Error.
API authentication using Bearer tokens. Include your API token in the Authorization header:
Authorization: Bearer <your-api-token>
Tokens can be obtained from the Opsera platform's API token management interface.
The user identifier, which can be either a MongoDB ID or an email address.
- For MongoDB ID: Use the user's Opsera ID directly.
- For email: Use the user's complete email address.
{"value":"507f1f77bcf86cd799439011","summary":"MongoDB ID Example"}Specifies the user's access level in the system. Must be one of:
Administrators: Full system access and control.PowerUsers: Extended privileges for managing resources.Users: Standard access to system features.Auditors: Read-only access for audit purposes.SecurityManagers: Special security access for security-related functions.
PowerUsersPossible values: Site role updated successfully
Confirmation message indicating the site role was updated.
Successfully updated site role for user.Bad Request - Missing or invalid parameters
Not Found - User not found
Internal Server Error
API authentication using Bearer tokens. Include your API token in the Authorization header:
Authorization: Bearer <your-api-token>
Tokens can be obtained from the Opsera platform's API token management interface.
Search query for user emails. Supports wildcard patterns using the * character.
- Examples:
email=*@company.com(all users with company.com addresses)email=user*(all users whose email starts with 'user')email=*name*@company.com(all users with 'name' in their email at company.com)
Comma-separated list of user IDs to retrieve specific users.
- Example:
id=507f1f77bcf86cd799439011,507f1f77bcf86cd799439012,507f1f77bcf86cd799439013 - Note: Only active users with the specified IDs will be returned.
Successfully retrieved active users
Array of user objects matching the search criteria
Unique identifier for the user in database format. Used as a primary key for user-related operations.
507f1f77bcf86cd799439011List of application IDs that the user has access to. Each ID represents a specific application in the system.
["60633793310cdb13fa85afa5","608304e85d1e526c80bb9749"]List of tool IDs that the user has access to.
["61eafd724868abd5193bfd4c","61f70a5b61b870001112d37c"]User's first name or given name, used for identification and display purposes.
JohnUser's last name or family name, used for identification and display purposes.
DoeUser's email address, used for authentication and communication. Must be unique within the system.
[email protected]The Single Sign-On (SSO) system used for user authentication. Indicates how the user authenticates with the system.
acmeSsoName of the organization the user belongs to. Used for organizational context and access control.
Company NameUser's organizational division or department. Helps in categorizing users within the organizational structure.
EngineeringThe domain associated with the user's organization. Used for authentication and organization-specific features.
company.comTimestamp indicating when the user account was created.
2023-11-01T12:00:00.000ZTimestamp indicating when the user account was last modified. Stored in ISO 8601 format.
2023-11-02T12:00:00.000ZList of group IDs that the user belongs to. Groups provide additional access control and organization capabilities.
Indicates whether the user account is currently active. Inactive accounts cannot access the system.
trueInvalid search query or ID format
Internal server error
Last updated

