Deleting API Gateways

Ryan Graham
Feb 12, 2021

Please remove all base path mappings related to the RestApi in your domains’

Sometimes CloudFormation fails to delete a RestAPI in an API Gateway. Finding the base path mapping and deleting it in the AWS Console GUI can be an epic PITA. Fortunately there is a magical incantation for clearing it out: “(none)”

Then go back and delete your stack again.

--

--