Endpoint for an organization admin to add a new user to their organization.
Args: user_data (UserCreate): The new user information including email, name, role, and org_name.
Returns: dict: A success message confirming the user was added to the organization.
Raises: HTTPException 404:
org_name in user data doesn’t match the admin’s org.Documentation Index
Fetch the complete documentation index at: https://docs.apigene.ai/llms.txt
Use this file to discover all available pages before exploring further.
JWT Authorization header using the Bearer scheme. Example: 'Authorization: Bearer {token}'
Successful Response