code: def create_user_group(self, **kwargs):  # noqa: E501
          
          kwargs['_return_http_data_only'] = True
          if kwargs.get('async_req'):
              return self.create_user_group_with_http_info(**kwargs)  # noqa: E501
          else:
              (data) = self.create_user_group_with_http_info(**kwargs)  # noqa: E501
              return data
docs: Create a specific user group  # noqa: E501
  
            # noqa: E501
          This method makes a synchronous HTTP request by default. To make an
          asynchronous HTTP request, please pass async_req=True
          >>> thread = api.create_user_group(async_req=True)
          >>> result = thread.get()
  
          :param async_req bool
          :param UserGroupWrite body: Example Body:  <pre>{   \"name\": \"UserGroup name\",   \"permissions\": [   \"permission1\",   \"permission2\",   \"permission3\"   ] }</pre>
          :return: ResponseContainerUserGroup
                   If the method is called asynchronously,
                   returns the request thread.