---
title: "Updates patterns in a version of the application."
method: PUT
path: "/apps/{appId}/versions/{versionId}/patternrules"
---

# Updates patterns in a version of the application.

`PUT /apps/{appId}/versions/{versionId}/patternrules`

## Path parameters

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

## Request body

- PatternRuleUpdateObject[]
  - `id` string, uuid — The pattern ID.
  - `pattern` string — The pattern text.
  - `intent` string — The intent's name which the pattern belongs to.

## Response `200`

The updated patterns

- PatternRuleInfo[] — List of patterns
  - `id` string, uuid — The pattern ID.
  - `pattern` string — The pattern text.
  - `intent` string — The intent's name where the pattern belongs to.

## Other responses

- `default` — Error Response.

---

[API](https://skmtc.net/azure/apis/luis-authoring-client.md) · [All operations](https://skmtc.net/azure/apis/luis-authoring-client/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/luis-authoring-client/revisions/a26a0f7e5a37/schema)
