Delete a project from the Gitlab server

        Gitlab currently returns a Boolean True if the deleted and as such we return an
        empty Dictionary

        :param id: The ID of the project or NAMESPACE/PROJECT_NAME
        :return: Dictionary
        :raise: HttpError: If invalid response returned

def delete_project(self, id):
        """
        Delete a project from the Gitlab server

        Gitlab currently returns a Boolean True if the deleted and as such we return an
        empty Dictionary

        :param id: The ID of the project or NAMESPACE/PROJECT_NAME
        :return: Dictionary
        :raise: HttpError: If invalid response returned
        """
        url = '/projects/{id}'.format(id=id)

        response = self.delete(url)
        if response is True:
            return {}
        else:
            return response