<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def delete_notes(self, noteids):
 """Delete a note or notes :param noteids: The noteids to delete """


        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/delete', post_data={
            'noteids[]' : noteids
        })

        return response