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

# PUT /news/{id}

`PUT /news/{id}`

## Request

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

Update a news article

## Path parameters

- `id` integer, required

## Request body `*/*`

- object
  - `headline` string: The entry's headline
  - `body` string: The entry's body
  - `newstypeid` integer: ID of the news type
  - `published` integer: Published state
  - `template` integer: If entry is a template or not
  - `datetimenews` string: Start date and time
  - `datetimenewsend` string: Stop date and time
  - `location` string: Entry location
  - `url` string: URL for the entry

## 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)
