---
title: "Update version metadata"
method: PATCH
path: "/projects/v1/admin/{project_id}/versions/{version_id}"
tags: ["Publish"]
---

# Update version metadata

`PATCH /projects/v1/admin/{project_id}/versions/{version_id}`

## Request

- Base URL: `https://api.run402.com`
- URL: `https://api.run402.com/projects/v1/admin/{project_id}/versions/{version_id}`
- Auth: HTTP bearer

## Path parameters

- `project_id` string, required: Run402 project ID. Public IDs are not UUIDs.
- `version_id` string, required

## Request body

- object
  - `tags` string[]
  - `description` string
  - `fork_allowed` boolean
  - `visibility` 'public' | 'unlisted' | 'private'

## Response `200`

Version updated

- object

## Other responses

- `401`: Missing or invalid authentication. Run402-originated JSON bodies use the canonical ErrorEnvelope.

---

[API](https://skmtc.dev/run402/apis/run402-api.md) · [All operations](https://skmtc.dev/run402/apis/run402-api/llms.txt) · [OpenAPI document](https://skmtc.dev/run402/apis/run402-api/revisions/893607557f50?raw)
