AuthorizersCache - Amazon API Gateway

AuthorizersCache

Represents the authorizers cache for a stage. Supported only for HTTP API Lambda authorizers.

URI

/v2/apis/apiId/stages/stageName/cache/authorizers

HTTP methods

DELETE

Operation ID: ResetAuthorizersCache

Resets all authorizer cache entries for the specified stage. Supported only for HTTP API Lambda authorizers.

Path parameters
NameTypeRequiredDescription
stageNameStringTrue

The stage name. Stage names can contain only alphanumeric characters, hyphens, and underscores, or be $default. Maximum length is 128 characters.

apiIdStringTrue

The API identifier.

Responses
Status codeResponse modelDescription
204None

The request has succeeded, and there is no additional content to send in the response payload body.

404NotFoundException

The resource specified in the request was not found.

429LimitExceededException

The client is sending more than the allowed number of requests per unit of time.

Schemas

Response bodies

{ "message": "string", "resourceType": "string" }
{ "message": "string", "limitType": "string" }

Properties

LimitExceededException

A limit has been exceeded. See the accompanying error message for details.

PropertyTypeRequiredDescription
limitType

string

False

The limit type.

message

string

False

Describes the error encountered.

NotFoundException

The resource specified in the request was not found. See the message field for more information.

PropertyTypeRequiredDescription
message

string

False

Describes the error encountered.

resourceType

string

False

The resource type.

See also

For more information about using this API in one of the language-specific AWS SDKs and references, see the following:

ResetAuthorizersCache