code: def create_account(self, body, **kwargs):  # noqa: E501
          
          kwargs['_return_http_data_only'] = True
          if kwargs.get('asynchronous'):
              return self.create_account_with_http_info(body, **kwargs)  # noqa: E501
          else:
              (data) = self.create_account_with_http_info(body, **kwargs)  # noqa: E501
              return data
docs: Create a new account.  # noqa: E501
  
          An endpoint for creating a new account.   **Example usage:** `curl -X POST https://api.us-east-1.mbedcloud.com/v3/accounts -d '{\"display_name\": \"MyAccount1\", \"admin_name\": \"accountAdmin1\", \"email\": \"example_admin@myaccount.info\"}' -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(body, asynchronous=True)
          >>> result = thread.get()
  
          :param asynchronous bool
          :param AccountCreationReq body: Details of the account to be created. (required)
          :param str action: Action, either 'create' or 'enroll'. <ul><li>'create' creates the account where its admin user has ACTIVE status if admin_password was defined in the request, or RESET status if no admin_password was defined. If the user already exists, its status is not modified. </li><li>'enroll' creates the account where its admin user has ENROLLING status. If the user already exists, its status is not modified. Email to finish the enrollment or to notify the existing user about the new account is sent to the admin_email defined in the request. </li></ul>
          :return: AccountCreationResp
                   If the method is called asynchronously,
                   returns the request thread.