code: def create_account_invitation(self, account_id, body, **kwargs):  # noqa: E501
          
          kwargs['_return_http_data_only'] = True
          if kwargs.get('asynchronous'):
              return self.create_account_invitation_with_http_info(account_id, body, **kwargs)  # noqa: E501
          else:
              (data) = self.create_account_invitation_with_http_info(account_id, body, **kwargs)  # noqa: E501
              return data
docs: Create a user invitation.  # noqa: E501
  
          An endpoint for inviting a new or an existing user to join the account.   **Example usage:** `curl -X POST https://api.us-east-1.mbedcloud.com/v3/accouns/{account-id}/user-invitations -d {\"email\": \"myemail@company.com\"} -H 'content-type: application/json' -H 'Authorization: Bearer API_KEY'`  # noqa: E501
          This method makes a synchronous HTTP request by default. To make an
          asynchronous HTTP request, please pass asynchronous=True
          >>> thread = api.create_account_invitation(account_id, body, asynchronous=True)
          >>> result = thread.get()
  
          :param asynchronous bool
          :param str account_id: Account ID. (required)
          :param UserInvitationReq body: A user invitation object with attributes. (required)
          :return: UserInvitationResp
                   If the method is called asynchronously,
                   returns the request thread.