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

# PUT /resources/subresources/{id}

`PUT /resources/subresources/{id}`

## Request

- Base URL: `https://www.rcac.purdue.edu/api`
- URL: `https://www.rcac.purdue.edu/api/resources/subresources/{id}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/purdue/apis/rcac-api/docs/resources/subresources/: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 sub-resource
  - `cluster` string: Cluster name
  - `nodecores` integer: Number of node cores
  - `nodemem` string: Memory per node
  - `nodegpus` integer: Number of GPUs per node
  - `nodeattributes` string: Node attributes
  - `description` string: Short description of the sub-resource
  - `notice` integer: Notification status
  - `queuestatus` integer: Queue status

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