---
title: "Update page."
method: PUT
path: "/api/v1/page"
tags: ["page"]
---

# Update page.

`PUT /api/v1/page`

Update page.

## Cookies

- `Session` string, nullable

## Request body

- PageUpdate[]
  - `docId` string, required — Document id.
  - `titleOverride` string, nullable — Custom document title.
  - `sequence` integer — Document sequence number.
  - `parent` string, nullable — Parent title.
  - `revision` integer, required — Revision for updated entry, empty for new.
  - `id` string, required — Page id.

## Response `200`

Successful Response

- PageResponse[]
  - `docId` string, required — Document id.
  - `titleOverride` string, nullable — Custom document title.
  - `sequence` integer — Document sequence number.
  - `parent` string, nullable — Parent title.
  - `id` string, required — Unique id in db.
  - `history` HistoryResponse, required — History response model.
    - `id` string, required — Id of entry in db.
    - `creator` string, required — User or email of the creator.
    - `created` string, date-time, required — Datetime when the entry has been created.
    - `modifier` string, required — User or email of the modifier.
    - `modified` string, date-time, required — Datetime when the entry has been modified.
    - `revision` number — Revision of entry, incremented by 1 for each update
  - `title` string, required — Title.
  - `docRef` string, required — Document reference.

## Other responses

- `403` — Forbidden
- `404` — Not Found
- `409` — Conflict
- `422` — Unprocessable entity
- `500` — Internal Server Error

---

[API](https://skmtc.dev/posti/apis/posti-developer-portal-backend-rest-api.md) · [All operations](https://skmtc.dev/posti/apis/posti-developer-portal-backend-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/posti/posti-developer-portal-backend-rest-api/revisions/4b67dce32742/schema)
