---
title: "Unpublish"
method: POST
path: "/admin/blog/posts/{slug}/unpublish"
---

# Unpublish

`POST /admin/blog/posts/{slug}/unpublish`

## Request

- Base URL: `https://api-docs.session-exchange.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api-docs.session-exchange.com/admin/blog/posts/{slug}/unpublish`
- Auth: none declared

Take the live post down (410 on its URL, gone from the index, sitemap, RSS and landing). `sha` must be
the live revision. Syndicated copies are not touched.

## Path parameters

- `slug` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/session-exchange/apis/a4sx.md) · [All operations](https://skmtc.dev/session-exchange/apis/a4sx/llms.txt) · [OpenAPI document](https://skmtc.dev/session-exchange/apis/a4sx/revisions/abaefc33dfc7?raw)
