从 UI 或通过 AWS 控制台或终端使用命令删除 AWS Rest API:
aws apigateway delete-rest-api --rest-api-id 1234123412
(在 aws 文档中提到)我遇到了删除与域中 RestApi 相关的基本路径映射的错误,我尝试使用 aws 文档中给出的以下 cmd 删除它:
aws apigateway delete-base-path-mapping --domain-name 'api.domain.tld' --base-path 'dev'
我收到错误:调用 DeleteBasePathMapping 操作时发生错误 (NotFoundException)。指定的基本路径映射标识符无效