---
title: "ADMIN-OPS-001 — soft-delete/unpublish any playbook regardless of owner (admin-gated)"
method: DELETE
path: "/api/v1/admin/playbooks/{playbook_id}"
tags: ["admin"]
---

# ADMIN-OPS-001 — soft-delete/unpublish any playbook regardless of owner (admin-gated)

`DELETE /api/v1/admin/playbooks/{playbook_id}`

## Request

- Base URL: `https://api.badgeia.com`
- URL: `https://api.badgeia.com/api/v1/admin/playbooks/{playbook_id}`
- Auth: none declared

Soft-delete ANY playbook — regardless of owner.

Mirrors the owner path (`is_active=False` + `is_default=False`), but reaches
playbooks the owner-only delete at `playbooks.py` can't (e.g. test leftovers
on a founder-owned reference agent). Idempotent.

Auth: anonymous → 401, non-admin → 403, admin → 200. Flag-off → 404.
404 when the playbook doesn't exist.

## Path parameters

- `playbook_id` string, uuid, required

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/badgeia/apis/badge.md) · [All operations](https://skmtc.dev/badgeia/apis/badge/llms.txt) · [OpenAPI document](https://skmtc.dev/badgeia/apis/badge/revisions/7e7f7fee8b77?raw)
