---
title: "PUT /pages/{id}"
method: PUT
path: "/pages/{id}"
---

# PUT /pages/{id}

`PUT /pages/{id}`

## Request

- Base URL: `https://www.rcac.purdue.edu/api`
- URL: `https://www.rcac.purdue.edu/api/pages/{id}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/purdue/apis/rcac-api/docs/pages/:id/put.ts> (a function with typed inputs; its response is checked against the schema)

Update an entry

## Query parameters

- `id` integer, required

## Request body `*/*`

- object
  - `title` string: Title
  - `slug` string: URL slug
  - `content` string: Content
  - `state` integer: Published state
  - `access` integer: Access level
  - `publish_up` string: Start publishing (defaults to created time)
  - `publish_down` string: Stop publishing
  - `parent_id` integer: Parent page ID

## Response `202`

Successful entry modification

## Other responses

- `404`: Record not found
- `409`: Invalid data

---

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