---
title: "POST /resources/subresources/"
method: POST
path: "/resources/subresources/"
---

# POST /resources/subresources/

`POST /resources/subresources/`

## Request

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

Create a resource

## Request body `*/*`

- object
  - `resourceid` integer, required: ID of the parent resource
  - `name` string, required: The name of the sub-resource
  - `cluster` string, required: 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 `201`

Successful entry creation

## Other responses

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