---
title: "Activate Version"
method: PUT
path: "/api/admin/prompts/{prompt_id}/versions/{version_id}/activate"
tags: ["Prompts"]
---

# Activate Version

`PUT /api/admin/prompts/{prompt_id}/versions/{version_id}/activate`

## Request

- Base URL: `https://data.getplace.io` (the document declares no server; this is the origin it was published from)
- URL: `https://data.getplace.io/api/admin/prompts/{prompt_id}/versions/{version_id}/activate`
- Auth: OAuth 2
  - Password
  - Token URL: `/api/auth/login`

Set a version as the current active version.

## Path parameters

- `prompt_id` integer, required
- `version_id` string, uuid, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/getplace/apis/getplace-insights-api.md) - [All operations](https://skmtc.dev/getplace/apis/getplace-insights-api/llms.txt) - [OpenAPI document](https://skmtc.dev/getplace/apis/getplace-insights-api/revisions/0f337387603f?raw)
