Press the "sauté" button on your Instant Pot and add the oil.
Give the oil a minute to heat up, then add the onion, carrots, and celery.
Sweat the vegetables for about 5 minutes, until they begin to soften up, stirring occasionally.
Add the garlic and cook it with the veggies until it becomes very fragrant, about 1 minute. Hit the "cancel" button.
Stir in the broth, potatoes, diced tomatoes, thyme, and oregano.
Place the lid on your Instant Pot and set the valve to the "sealing" position. Press the "pressure cook" or "manual" button and set the pressure to high. Set the soup to cook for 15 minutes.
When the soup has finished cooking, carefully move the valve to the "venting" position. Let the pressure release completely.
Remove the lid from the Instant Pot and stir in the tomato paste, corn, peas, and beans. Optionally, let the soup simmer for a few minutes to thicken up.
Stir in the vinegar and season the soup with salt and pepper to taste.
Ladle into bowls and serve.