---
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

## Changes

- **2025-07-23** `246a15ffe975` — 2 info
  - the endpoint scheme security `bearerAuth` was added to the API
  - the endpoint scheme security `siweAuth` was removed from the API
- **2025-07-15** `11ce8a40985f` — 1 info
  - endpoint added
- **2025-06-19** `e514cea423bb` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/lit-protocol/apis/vincent-registry-api/changes/app/:appId/setActiveVersion/post.md)

---

[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/2d8f96fba2d3/schema)
