-
Enhanced API Endpoint: Get User Details
- The
GET /api/v1/account/members/{user}
endpoint has been updated to include additional data in its response:
- 2FA (Two-Factor Authentication) Status: The user's 2FA enforcement and enablement status are now returned in the response.
- Last Login Date and Time: The response now includes the last login timestamp, providing insights into the user's recent activity.
- User Privileges/Resources:The specific privileges and resources assigned to the user. This allows for more granular control and visibility over user access levels.
-
New API Endpoint: Toggle 2FA Status
- Introduced a new API endpoint to manage 2FA settings for individual users:
PATCH /api/v1/account/members/{user}/enforce-2fa/{status}
- This endpoint allows administrators to programmatically enable or disable 2FA enforcement for specific users, streamlining the management of security configurations.
-
Updated API Endpoint: Get All Users
- The existing
GET /api/v1/account/members
endpoint, which returns the details of all users in the account, has been enhanced to support filtering based on specific criteria:
- User ID: Retrieve user details by their unique identifier.
- User Email: Filter users based on their email address.
- User Name: Fetch user details using their name.
These filters allow for more targeted retrieval of user information, improving the efficiency of user management through the API.
These updates significantly enhance the functionality and flexibility of user management APIs, offering more detailed insights and control over user data and security settings.
More details can be found on our API documentation.