Decommission an HTTP API
A 3-step recipe with Amazon API Gateway. We can help you get access.
Recipe · 3 steps
Decommission an HTTP API
with Amazon API Gateway
Delete an API only when it has no published stages.
- Confirm the API exists before attempting teardown.
- List stages to decide whether the API is safe to delete.
- Delete the API now that no stages remain.
What you'll need to have ready
- apiId: Identifier of the API to decommission.
For your developer
Arazzo workflow aws-api-gateway:decommission-http-api, 3 operations: GetApi → $sourceDescriptions.stagesApi.getStages → DeleteApi. Specs on APIs.io.