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

# PUT /courses/{id}

`PUT /courses/{id}`

## Request

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

Update an entry

## Path parameters

- `id` integer, required

## Request body `*/*`

- object
  - `crn` string: Course CRN
  - `classname` string: Class name
  - `coursenumber` string: Course number
  - `userid` integer: Owner user ID
  - `groupid` integer: Group ID
  - `resourceid` integer: Resource ID
  - `deptartment` string: Department ID
  - `datetimestart` string: Start date of the entry
  - `datetimestop` string: End date of the entry

## Response `204`

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)
