---
title: "PUT /storage/{id}"
method: PUT
path: "/storage/{id}"
---

# PUT /storage/{id}

`PUT /storage/{id}`

## Request

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

Update a storage resource

## Path parameters

- `id` integer, required

## Request body `*/*`

- object
  - `name` string: The name of the storage resource
  - `path` string: 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 `202`

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)
