---
title: "PUT /authorizer/{authorizerName}"
method: PUT
path: "/authorizer/{authorizerName}"
---

# PUT /authorizer/{authorizerName}

`PUT /authorizer/{authorizerName}`

Updates an authorizer.

Requires permission to access the [UpdateAuthorizer](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions) action.

## Path parameters

- `authorizerName` string, required

## Request body

- object
  - `authorizerFunctionArn` string — The ARN of the authorizer's Lambda function.
  - `tokenKeyName` string — The key used to extract the token from the HTTP headers.
  - `tokenSigningPublicKeys` object — The public keys used to verify the token signature.
  - `status` 'ACTIVE' | 'INACTIVE' — The status of the update authorizer request.
  - `enableCachingForHttp` boolean — When <code>true</code>, the result from the authorizer’s Lambda function is cached for the time specified in <code>refreshAfterInSeconds</code>. The cached result is used while the device reuses the same HTTP connection.

## Response `200`

Success

- UpdateAuthorizerResponse
  - `authorizerName` string — The authorizer name.
  - `authorizerArn` string — The authorizer ARN.

## Other responses

- `480` — ResourceNotFoundException
- `481` — InvalidRequestException
- `482` — LimitExceededException
- `483` — ThrottlingException
- `484` — UnauthorizedException
- `485` — ServiceUnavailableException
- `486` — InternalFailureException

---

[API](https://skmtc.net/aws/apis/iot.md) · [All operations](https://skmtc.net/aws/apis/iot/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/iot/versions/deef5c4b09f0/schema)
