code: def delete(self, *args, **kwargs):
          
          # Create the model and fetch its data
          self.model = self.get_model(kwargs.get('id'))
          result = yield self.model.fetch()
  
          # If model is not found, return 404
          if not result:
              self.not_found()
              return
  
          # Stub to check for delete permissions
          if not self.has_delete_permission():
              self.permission_denied()
              return
  
          # Delete the model from its storage backend
          self.model.delete()
  
          # Set the status to request processed, no content returned
          self.set_status(204)
          self.finish()
docs: Handle delete of an item
  
          :param args:
          :param kwargs: