---
title: "PUT /media/move"
method: PUT
path: "/media/move"
---

# PUT /media/move

`PUT /media/move`

## Request

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

Rename/move a file

## Request body `*/*`

- object
  - `disk` string: Filesystem disk
  - `before` string, required: Source file path
  - `after` string, required: Destination file path

## Response `202`

Successful entry modification

## Other responses

- `404`: Record not found
- `422`: 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)
