Users
Last updated
Was this helpful?
Last updated
Was this helpful?
List users.
Args: offset: Offset for pagination limit: Limit for pagination user_id: Filter by user ID oauth_provider: Filter by OAuth provider oauth_id: Filter by OAuth ID email: Filter by email is_active: Filter by active status user: Authorized user user_manager: User manager
Returns: List of users matching the filter criteria
0
100
Get a user.
Args: user_id_or_email: User ID or email authorized_user: Authenticated user user_manager: User manager
Returns: The user with the given ID.
Raises: IllegalOperationError: If the user is not allowed to access other users.
Delete a user.
Args: user_id: User ID to delete user: Authenticated user user_manager: User manager workspace_manager: Workspace manager organization_manager: Organization manager
Raises: ValueError: If the user is internal. IllegalOperationError: If the operation is not allowed.
No content
Update a user.
Args: user_id: User ID user_update: User update user: Authenticated user user_manager: User manager
Returns: The updated user.
Raises: IllegalOperationError: If the operation is not allowed or the user does not exist.
User model for performing user updates.
{}