def teams_add_user_to_team_by_batch_v1_with_http_info(self, add_user_to_team_by_batch_request, **kwargs):
    'Add users to a team by batch  # noqa: E501\n\n        Operation to add users to a Team by batch. To get internal IDs for users, use “Get User Information in a Batch.” To get a Team\'s internal ID, use "Get all available Teams."  # noqa: E501\n        This method makes a synchronous HTTP request by default. To make an\n        asynchronous HTTP request, please pass async_req=True\n        >>> thread = api.teams_add_user_to_team_by_batch_v1_with_http_info(add_user_to_team_by_batch_request, async_req=True)\n        >>> result = thread.get()\n\n        :param async_req bool: execute request asynchronously\n        :param AddUserToTeamByBatchRequest add_user_to_team_by_batch_request: Request object to specify a list of add user to team request objects. (required)\n        :param _return_http_data_only: response data without head status code\n                                       and headers\n        :param _preload_content: if False, the urllib3.HTTPResponse object will\n                                 be returned without reading/decoding response\n                                 data. Default is True.\n        :param _request_timeout: timeout setting for this request. If one\n                                 number provided, it will be total request\n                                 timeout. It can also be a pair (tuple) of\n                                 (connection, read) timeouts.\n        :return: tuple(AddUserToTeamByBatchResponse, status_code(int), headers(HTTPHeaderDict))\n                 If the method is called asynchronously,\n                 returns the request thread.\n        '
    local_var_params = locals()
    all_params = ['add_user_to_team_by_batch_request']
    all_params.append('async_req')
    all_params.append('_return_http_data_only')
    all_params.append('_preload_content')
    all_params.append('_request_timeout')
    for (key, val) in six.iteritems(local_var_params['kwargs']):
        if (key not in all_params):
            raise ApiTypeError(("Got an unexpected keyword argument '%s' to method teams_add_user_to_team_by_batch_v1" % key))
        local_var_params[key] = val
    del local_var_params['kwargs']
    if (self.api_client.client_side_validation and (('add_user_to_team_by_batch_request' not in local_var_params) or (local_var_params['add_user_to_team_by_batch_request'] is None))):
        raise ApiValueError('Missing the required parameter `add_user_to_team_by_batch_request` when calling `teams_add_user_to_team_by_batch_v1`')
    collection_formats = {}
    path_params = {}
    query_params = []
    header_params = {}
    form_params = []
    local_var_files = {}
    body_params = None
    if ('add_user_to_team_by_batch_request' in local_var_params):
        body_params = local_var_params['add_user_to_team_by_batch_request']
    header_params['Accept'] = self.api_client.select_header_accept(['application/json'])
    header_params['Content-Type'] = self.api_client.select_header_content_type(['application/json'])
    auth_settings = []
    return self.api_client.call_api('/api/V1/addusertoteambybatch', 'POST', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, response_type='AddUserToTeamByBatchResponse', auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), _preload_content=local_var_params.get('_preload_content', True), _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats)
Add users to a team by batch  # noqa: E501

Operation to add users to a Team by batch. To get internal IDs for users, use “Get User Information in a Batch.” To get a Team's internal ID, use "Get all available Teams."  # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.teams_add_user_to_team_by_batch_v1_with_http_info(add_user_to_team_by_batch_request, async_req=True)
>>> result = thread.get()

:param async_req bool: execute request asynchronously
:param AddUserToTeamByBatchRequest add_user_to_team_by_batch_request: Request object to specify a list of add user to team request objects. (required)
:param _return_http_data_only: response data without head status code
                               and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
                         be returned without reading/decoding response
                         data. Default is True.
:param _request_timeout: timeout setting for this request. If one
                         number provided, it will be total request
                         timeout. It can also be a pair (tuple) of
                         (connection, read) timeouts.
:return: tuple(AddUserToTeamByBatchResponse, status_code(int), headers(HTTPHeaderDict))
         If the method is called asynchronously,
         returns the request thread.
def teams_add_user_to_team_by_batch_v1_with_http_info(self, add_user_to_team_by_batch_request, **kwargs):
    'Add users to a team by batch  # noqa: E501\n\n        Operation to add users to a Team by batch. To get internal IDs for users, use “Get User Information in a Batch.” To get a Team\'s internal ID, use "Get all available Teams."  # noqa: E501\n        This method makes a synchronous HTTP request by default. To make an\n        asynchronous HTTP request, please pass async_req=True\n        >>> thread = api.teams_add_user_to_team_by_batch_v1_with_http_info(add_user_to_team_by_batch_request, async_req=True)\n        >>> result = thread.get()\n\n        :param async_req bool: execute request asynchronously\n        :param AddUserToTeamByBatchRequest add_user_to_team_by_batch_request: Request object to specify a list of add user to team request objects. (required)\n        :param _return_http_data_only: response data without head status code\n                                       and headers\n        :param _preload_content: if False, the urllib3.HTTPResponse object will\n                                 be returned without reading/decoding response\n                                 data. Default is True.\n        :param _request_timeout: timeout setting for this request. If one\n                                 number provided, it will be total request\n                                 timeout. It can also be a pair (tuple) of\n                                 (connection, read) timeouts.\n        :return: tuple(AddUserToTeamByBatchResponse, status_code(int), headers(HTTPHeaderDict))\n                 If the method is called asynchronously,\n                 returns the request thread.\n        '
    local_var_params = locals()
    all_params = ['add_user_to_team_by_batch_request']
    all_params.append('async_req')
    all_params.append('_return_http_data_only')
    all_params.append('_preload_content')
    all_params.append('_request_timeout')
    for (key, val) in six.iteritems(local_var_params['kwargs']):
        if (key not in all_params):
            raise ApiTypeError(("Got an unexpected keyword argument '%s' to method teams_add_user_to_team_by_batch_v1" % key))
        local_var_params[key] = val
    del local_var_params['kwargs']
    if (self.api_client.client_side_validation and (('add_user_to_team_by_batch_request' not in local_var_params) or (local_var_params['add_user_to_team_by_batch_request'] is None))):
        raise ApiValueError('Missing the required parameter `add_user_to_team_by_batch_request` when calling `teams_add_user_to_team_by_batch_v1`')
    collection_formats = {}
    path_params = {}
    query_params = []
    header_params = {}
    form_params = []
    local_var_files = {}
    body_params = None
    if ('add_user_to_team_by_batch_request' in local_var_params):
        body_params = local_var_params['add_user_to_team_by_batch_request']
    header_params['Accept'] = self.api_client.select_header_accept(['application/json'])
    header_params['Content-Type'] = self.api_client.select_header_content_type(['application/json'])
    auth_settings = []
    return self.api_client.call_api('/api/V1/addusertoteambybatch', 'POST', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, response_type='AddUserToTeamByBatchResponse', auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), _preload_content=local_var_params.get('_preload_content', True), _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats)