Created
September 15, 2023 22:01
-
-
Save houey/5f9afef009670b1f188a8462604a6781 to your computer and use it in GitHub Desktop.
delete all aws api gateway apis
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#usage deleteallapis.sh us-east-1 | |
for api_id in $(aws apigatewayv2 get-apis --region $1 --query 'Items[*].ApiId' --output text); do aws apigatewayv2 delete-api --region $1 --api-id $api_id ; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment