---
title: "Take a campaign's pages offline."
method: POST
path: "/api/external/v1/pages/unpublish"
tags: ["GenPages"]
---

# Take a campaign's pages offline.

`POST /api/external/v1/pages/unpublish`

Clears the published snapshot. Every generated link in the campaign then
shows a "not live yet" page. The design itself is untouched — it stays as
a draft and can be published again.

## Request body

- object
  - `workspace_id` integer, required — The workspace the campaign belongs to.
  - `campaign_id` integer, required — The campaign to take offline.

## Response `200`

- object
  - `campaign_id` integer
  - `is_live` boolean
  - `message` string

## Changes

- **2026-08-17** `dd3f47f72f7a` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/genpage/apis/genpage-external-api-documentation/changes/api/external/v1/pages/unpublish/post.md)

---

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