---
title: "Sets the active version of an application"
method: POST
path: "/app/{appId}/setActiveVersion"
tags: ["App"]
---

# Sets the active version of an application

`POST /app/{appId}/setActiveVersion`

## Path parameters

- `appId` number, required

## Request body

- AppSetActiveVersion
  - `activeVersion` number, required — The version to set as active

## Response `200`

OK - Active version successfully set

- GenericResultMessage
  - `message` string, required — Success message

## Other responses

- `400` — Invalid input
- `404` — Application or version not found
- `422` — Validation exception
- `default` — Unexpected error

---

[API](https://skmtc.dev/lit-protocol/apis/vincent-registry-api.md) · [All operations](https://skmtc.dev/lit-protocol/apis/vincent-registry-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/lit-protocol/vincent-registry-api/revisions/825608de85fb/schema)
