---
title: "PUT /default-vocabulary/{InstanceId}/{LanguageCode}"
method: PUT
path: "/default-vocabulary/{InstanceId}/{LanguageCode}"
---

# PUT /default-vocabulary/{InstanceId}/{LanguageCode}

`PUT /default-vocabulary/{InstanceId}/{LanguageCode}`

Associates an existing vocabulary as the default. Contact Lens for Amazon Connect uses the vocabulary in post-call and real-time analysis sessions for the given language.

## Path parameters

- `InstanceId` string, required
- `LanguageCode` 'ar-AE' | 'de-CH' | 'de-DE' | 'en-AB' | 'en-AU' | 'en-GB' | 'en-IE' | 'en-IN' | 'en-US' | 'en-WL' | 'es-ES' | 'es-US' | 'fr-CA' | 'fr-FR' | 'hi-IN' | 'it-IT' | 'ja-JP' | 'ko-KR' | 'pt-BR' | 'pt-PT' | 'zh-CN' | 'en-NZ' | 'en-ZA', required

## Request body

- object
  - `VocabularyId` string — The identifier of the custom vocabulary. If this is empty, the default is set to none.

## Response `200`

Success

- AssociateDefaultVocabularyResponse

## Other responses

- `480` — InvalidRequestException
- `481` — ResourceNotFoundException
- `482` — InternalServiceException
- `483` — ThrottlingException
- `484` — AccessDeniedException

---

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