---
title: "PUT /apps/{appId}/versions/{versionId}/phraselists/{phraselistId}"
method: PUT
path: "/apps/{appId}/versions/{versionId}/phraselists/{phraselistId}"
---

# PUT /apps/{appId}/versions/{versionId}/phraselists/{phraselistId}

`PUT /apps/{appId}/versions/{versionId}/phraselists/{phraselistId}`

## Request

- Base URL: `{Endpoint}/luis/authoring/v3.0-preview`
- URL: `{Endpoint}/luis/authoring/v3.0-preview/apps/{appId}/versions/{versionId}/phraselists/{phraselistId}`
- Auth: API key in header `Ocp-Apim-Subscription-Key`

Updates the phrases, the state and the name of the phraselist feature in a version of the application.

## Path parameters

- `appId` string, uuid, required
- `versionId` string, required
- `phraselistId` integer, required

## Request body

- PhraselistUpdateObject: Object model for updating a Phraselist.
  - `phrases` string: List of comma-separated phrases that represent the Phraselist.
  - `name` string: The Phraselist name.
  - `isActive` boolean: Indicates if the Phraselist is enabled.
  - `isExchangeable` boolean: An exchangeable phrase list feature are serves as single feature to the LUIS underlying training algorithm. It is used as a lexicon lookup feature where its value is 1 if the lexicon contains a given word or 0 if it doesn’t. Think of an exchangeable as a synonyms list. A non-exchangeable phrase list feature has all the phrases in the list serve as separate features to the underlying training algorithm. So, if you your phrase list feature contains 5 phrases, they will be mapped to 5 separate features. You can think of the non-exchangeable phrase list feature as an additional bag of words that you are willing to add to LUIS existing vocabulary features. Think of a non-exchangeable as set of different words. Default value is true.
  - `enabledForAllModels` boolean: Indicates if the Phraselist is enabled for all models in the application.

## Response `200`

Successfully updated phraselist.

- OperationStatus: Response of an Operation status.
  - `code` 'Failed' | 'FAILED' | 'Success': Status Code.
  - `message` string: Status details.

## Other responses

- `default`: Error Response.

---

[API](https://skmtc.dev/azure/apis/luis-authoring-client.md) - [All operations](https://skmtc.dev/azure/apis/luis-authoring-client/llms.txt) - [OpenAPI document](https://skmtc.dev/azure/apis/luis-authoring-client/revisions/a26a0f7e5a37?raw)
