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

# PUT /resources/{id}

`PUT /resources/{id}`

## Request

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

Update a resource

## Path parameters

- `id` integer, required

## Request body `*/*`

- object
  - `name` string: The name of the resource type
  - `parentid` integer: Parent resource ID
  - `resourcetype` integer: Resource type ID
  - `producttype` integer: Product type ID
  - `rolename` string: An alias containing only alpha-numeric characters, dashes, and underscores
  - `listname` string: An alias containing only alpha-numeric characters, dashes, and underscores
  - `description` string: A short description of the resource

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