CmdID / aws / aws apigateway
aws apigateway delete-deployment
Deletes a Deployment resource. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To delete a deployment in an API
The following delete-deployment example deletes a deployment in an API.
aws apigateway delete-deployment --rest-api-id 1234123412 --deployment-id a1b2c3Identify--rest-api-idThe string identifier of the associated RestApi.--deployment-idThe identifier of the Deployment resource to delete.This command produces no output.
For more information, see Deploy REST APIs in API Gateway in the Amazon API Gateway Developer Guide.
Options
--deployment-idThe identifier of the Deployment resource to delete.--rest-api-idThe string identifier of the associated RestApi.