---
title: "Unpublish the page"
method: POST
path: "/v1/projects/{projectId}/public-page/unpublish"
tags: ["Project Public Page"]
---

# Unpublish the page

`POST /v1/projects/{projectId}/public-page/unpublish`

The URL returns 410 from now on and the public files are removed. Configuration and uploads are kept for a republish.

## Path parameters

- `projectId` string, required

## Response `200`

Unpublished page

- PublicPageDto
  - `id` string
  - `publicId` string
  - `projectId` string
  - `title` string
  - `description` string
  - `slug` string
  - `mode` string
  - `publishedMode` string
  - `status` string
  - `indexable` boolean
  - `publishedIndexable` boolean
  - `passwordProtected` boolean
  - `expiresAt` integer
  - `visibility` PublicPageVisibility
    - `showTrackedTime` boolean
    - `showActivity` boolean
    - `showDistribution` boolean
    - `showDescription` boolean
    - `showAssets` boolean
    - `showDocuments` boolean
    - `showLinks` boolean
    - `showTeamSize` boolean
  - `links` PublicPageLink[]
    - `label` string
    - `url` string
  - `defaultRangeKey` string
  - `assets` PublicPageAssetDto[]
    - `id` string
    - `type` string
    - `fileName` string
    - `contentType` string
    - `size` integer
    - `caption` string
    - `ordering` integer
    - `previewUrl` string
    - `created` integer
  - `payloadAt` integer
  - `publishedAt` integer
  - `consentAt` integer
  - `consentVersion` integer
  - `consentHash` string
  - `consentRequired` boolean
  - `requiredConsentVersion` integer
  - `pendingChanges` boolean
  - `url` string
  - `indexableAllowed` boolean
  - `teamProject` boolean
  - `locale` string
  - `timeZone` string
  - `lastUpdate` integer
  - `created` integer

## Other responses

- `401` — Not authorized
- `404` — No page or project not found

## Changes

> 8 revisions in range; 1 not diffed.

- **2026-09-06** `24f693bd6f1f` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/timesheet/apis/timesheet-api/changes/v1/projects/:projectId/public-page/unpublish/post.md)

---

[API](https://skmtc.dev/timesheet/apis/timesheet-api.md) · [All operations](https://skmtc.dev/timesheet/apis/timesheet-api/llms.txt) · [OpenAPI document](https://skmtc.dev/timesheet/apis/timesheet-api/revisions/a3d2f44e7345?raw)
