Rename a folder

        :param title: New title of the folder
        :param folderid: The UUID of the folder to rename

def rename_notes_folder(self, title, folderid):

        """Rename a folder

        :param title: New title of the folder
        :param folderid: The UUID of the folder to rename
        """

        if self.standard_grant_type is not "authorization_code":
            raise DeviantartError("Authentication through Authorization Code (Grant Type) is required in order to connect to this endpoint.")

        response = self._req('/notes/folders/rename/{}'.format(folderid), post_data={
            'title' : title
        })

        return response