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

# POST /storage

`POST /storage`

## Request

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

Create a storage resource

## Request body `*/*`

- object
  - `name` string, required: The name of the storage resource
  - `path` string, required: The storage resource base path
  - `parentresourceid` integer: The parent resource's ID
  - `import` boolean: Import
  - `importhostname` string: Import hostname
  - `autouserdir` boolean: Auto create user directory
  - `defaultquotaspace` integer: Default quota space in bytes
  - `defaultquotafile` integer: Default number of files
  - `getquotatypeid` integer: Get Quota message type ID
  - `createtypeid` integer: Create Quota message type ID
  - `groupmanaged` integer: Groups can manage directory structure and permissions

## Response `201`

Successful entry creation

## Other responses

- `401`: Unauthorized
- `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)
