CmdID / aws / aws apigateway
aws apigateway delete-rest-api
Deletes the specified API. AWS CLI reference
1 example 1 option Its page in the AWS CLI reference
Examples
To delete an API
The following delete-rest-api example deletes the specified API.
aws apigateway delete-rest-api --rest-api-id 1234123412Identify--rest-api-idThe string identifier of the associated RestApi.This command produces no output.
For more information, see Develop REST APIs in API Gateway in the Amazon API Gateway Developer Guide.
Options
--rest-api-idThe string identifier of the associated RestApi.