---
title: "Yank a published version"
method: POST
path: "/v1/admin/registry/packs/{packId}/{version}/yank"
tags: ["Registry publishing"]
---

# Yank a published version

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

## Request

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

Marks a version as not-installable (existing installs keep working). The version stays visible in the history, flagged.

Required scope: `registry:publish`.

## Path parameters

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

## Request body

- YankPackRequest
  - `reason` string

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