Amazon API Gateway REST API Reference

stage:flush-authorizer-cache

Flushes all cached Authorizer entries on a named stage.

HTTP Request

DELETE /restapis/<restapi_id>/stages/<stage_name>/cache/authorizers

Remarks

Example:Flush the stage-level cache of an API

Request

DELETE /restapis/uycll6xg9a/stages/alpha/cache/authorizers HTTP/1.1
Content-Type: application/json
Host: apigateway.us-east-1.amazonaws.com
X-Amz-Date: 20170223T202048Z
Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20170223/us-east-1/apigateway/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature={sig4_hash}
Response

The successful response returns 202 Accepted status code and an empty payload.

See Also

AWS CLI