code: def delete(self, object_type, object_id):
          
          tag_names = request.get_json(force=True)
          if not tag_names:
              return Response(status=403)
  
          db.session.query(TaggedObject).filter(and_(
              TaggedObject.object_type == object_type,
              TaggedObject.object_id == object_id),
              TaggedObject.tag.has(Tag.name.in_(tag_names)),
          ).delete(synchronize_session=False)
          db.session.commit()
  
          return Response(status=204)
docs: Remove tags from an object.