---
title: "POST /groups/departments"
method: POST
path: "/groups/departments"
---

# POST /groups/departments

`POST /groups/departments`

## Request

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

Create a new entry

## Request body `*/*`

- object
  - `name` string, required: Department name
  - `parentid` integer: Parent department ID

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