def METHOD_NAME(world, room, by_user):
    room.deleted = True
    room.save(update_fields=["deleted"])
    old = RoomConfigSerializer(room).data
    AuditLog.objects.create(
        world_id=world.id,
        user=by_user,
        type="world.room.deleted",
        data={
            "object": str(room.id),
            "old": old,
        },
    )