---
title: "POST /default-authorizer"
method: POST
path: "/default-authorizer"
---

# POST /default-authorizer

`POST /default-authorizer`

Sets the default authorizer. This will be used if a websocket connection is made without specifying an authorizer.

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

## Request body

- object
  - `authorizerName` string, required — The authorizer name.

## Response `200`

Success

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

## Other responses

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

---

[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)
