def delete_old_account_key(self) -> bool:
    """Delete old account key from Cloud Portal.

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

        * - Swagger Section
          - Method
          - Endpoint
        * - spPortal
          - DELETE
          - /spPortal/account/oldKey

    Acts as "commit" for a previous account key change. Make sure all
    managed appliances have the new account key before calling this.
    Requires Portal connectivity.

    :return: Returns True/False based on successful call
    :rtype: bool
    """
    return self._delete(
        "/spPortal/account/oldKey",
        expected_status=[204],
        return_type="bool",
    )