def delete_message(self, messageid="", folderid="", stackid=""):

        """Delete a message or a message stack

        :param folderid: The folder to delete the message from, defaults to inbox
        :param messageid: The message to delete
        :param stackid: The stack 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('/messages/delete', post_data={
            'folderid' : folderid,
            'messageid' : messageid,
            'stackid' : stackid
        })

        return response
def delete_message ( self , messageid = "" , folderid = "" , stackid = "" ) : 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 ( '/messages/delete' , post_data = { 'folderid' : folderid , 'messageid' : messageid , 'stackid' : stackid } ) return response
Delete a message or a message stack

        :param folderid: The folder to delete the message from, defaults to inbox
        :param messageid: The message to delete
        :param stackid: The stack to delete