---
title: "Unpublishes a page"
method: PATCH
path: "/api/v2/pages/{id}/unpublish"
tags: ["Pages"]
---

# Unpublishes a page

`PATCH /api/v2/pages/{id}/unpublish`

Unpublishes a doc: sets `public_access` to `false`, so the public link stops resolving. Only docs can be unpublished — subpages are covered by their doc. No request body.

## Path parameters

- `id` string, required

## Headers

- `X-Organization-Id` string, required

## Response `200`

Single page

## Other responses

- `409` — Conflict

## Changes

- **2026-08-31** `0e862879d77b` — 1 info
  - added the optional property `data/relationships/updater` to the response with the `200` status

[Change history](https://skmtc.dev/productive/apis/api-documentation/changes/api/v2/pages/:id/unpublish/patch.md)

---

[API](https://skmtc.dev/productive/apis/api-documentation.md) · [All operations](https://skmtc.dev/productive/apis/api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/productive/api-documentation/revisions/0e862879d77b/schema)
