CmdID / aws / aws apigateway
aws apigateway flush-stage-cache
Flushes a stage's cache. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To flush the cache for an API's stage
The following flush-stage-cache example flushes the cache of a stage.
aws apigateway flush-stage-cache --rest-api-id 1234123412 --stage-name devIdentify--rest-api-idThe string identifier of the associated RestApi.--stage-nameThe name of the stage to flush its cache.This command produces no output.
For more information, see Cache settings for REST APIs in API Gateway in the Amazon API Gateway Developer Guide.
Options
--rest-api-idThe string identifier of the associated RestApi.--stage-nameThe name of the stage to flush its cache.