---
title: "Restore a yanked version"
method: POST
path: "/v1/admin/registry/packs/{packId}/{version}/unyank"
tags: ["Registry publishing"]
---

# Restore a yanked version

`POST /v1/admin/registry/packs/{packId}/{version}/unyank`

## Request

- Base URL: `https://brain.inite.ai`
- URL: `https://brain.inite.ai/v1/admin/registry/packs/{packId}/{version}/unyank`
- Auth: HTTP bearer

Reverses a yank — the version becomes installable again.

Required scope: `registry:publish`.

## Path parameters

- `packId` string, required
- `version` string, required

## Response `201`

Yank state after the call.

- YankPackResponse
  - `packId` string, required
  - `version` string, required
  - `yanked` boolean, required

## Other responses

- `401`: Missing or unknown bearer key.
- `403`: The key lacks the required scope.
- `404`: No such resource in this tenant.

---

[API](https://skmtc.dev/inite/apis/inite-brain-platform-api.md) · [All operations](https://skmtc.dev/inite/apis/inite-brain-platform-api/llms.txt) · [OpenAPI document](https://skmtc.dev/inite/apis/inite-brain-platform-api/revisions/c7c3eb5e304b?raw)
