---
title: "Active App Version"
method: PUT
path: "/applications/{application_id}/versions/{version_id}/active"
---

# Active App Version

`PUT /applications/{application_id}/versions/{version_id}/active`

## Request

- The document declares no server URL.
- Auth: none declared

Update the active version of an application in the database.

Args:
    application_id (str): The ID of the application to update.
    version_id (str): The ID of the version to set as active.

Returns:
    ItemUpdateResponse: An ItemUpdateResponse indicating the success or failure of the update.

## Path parameters

- `application_id` string, required
- `version_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/pingcap/apis/pingcap-linguflow-api.md) - [All operations](https://skmtc.dev/pingcap/apis/pingcap-linguflow-api/llms.txt) - [OpenAPI document](https://skmtc.dev/pingcap/apis/pingcap-linguflow-api/revisions/1194d2174bed?raw)
