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

# POST /resources

`POST /resources`

## Request

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

Create a resource

## Request body `*/*`

- object
  - `name` string, required: The name of the resource type
  - `parentid` integer: Parent resource ID
  - `resourcetype` integer, required: 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 `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)
