def register_sp_portal(
    self,
    account_key: str,
    account: str,
    group: str = "",
    site: str = "",
) -> bool:
    """Register appliance with account

    .. list-table::
        :header-rows: 1

        * - Swagger Section
          - Method
          - Endpoint
        * - spPortal
          - POST
          - /spPortal/register

    :param account_key: Account key for the account to associate to
    :type account_key: str
    :param account: Account to associate appliance to
    :type account: str
    :param group: Group to associate appliance to, defaults to ""
    :type group: str, optional
    :param site: Site or Tag to associate with appliance, defaults to ""
    :type site: str, optional
    :return: Returns True/False based on successful call
    :rtype: bool
    """
    return self._post(
        "/spPortal/register",
        data={
            "accountKey": account_key,
            "account": account,
            "group": group,
            "site": site,
        },
        return_type="bool",
    )