---
title: "Update a media folder"
method: PATCH
path: "/v1/media-folders/{id}"
tags: ["media-folders"]
---

# Update a media folder

`PATCH /v1/media-folders/{id}`

## Request

- Base URL: `https://api.brixsignage.com`
- URL: `https://api.brixsignage.com/v1/media-folders/{id}`
- Auth: HTTP bearer

Rename a media folder or move it to a different parent folder or location. Accepts optional name, parentId, and nodeId.

## Path parameters

- `id` string, required

## Request body

- object
  - `name` string
  - `parentId` string, nullable
  - `nodeId` string, nullable
  - `baseUpdatedAt` string: The `updatedAt` your edit is based on; 409 with the current row if it moved.

## Response `200`

Success.

- object
  - `data` MediaFolder, required: A folder in the media library.
    - `id` string, required: Media folder id.
    - `spaceId` string, required
    - `parentId` string, nullable, required: Parent folder; null = top level.
    - `name` string, required
    - `nodeId` string, nullable, required: Home location; null = workspace root.
    - `createdAt` string, required: ISO-8601 timestamp (UTC).
    - `updatedAt` string, required: ISO-8601 timestamp (UTC).
    - `deletedAt` string, nullable, required: ISO-8601 timestamp (UTC).

## Other responses

- `401`: Missing, expired or revoked bearer token.
- `403`: The token lacks the permission this operation needs (see `x-brix-permission`).
- `404`: No folder with this id.
- `409`: `conflict`: changed since `baseUpdatedAt`; the body carries `current`.
- `5XX`: Server error. The body carries a `requestId` to quote to support.

---

[API](https://skmtc.dev/brixsignage/apis/brix-api.md) · [All operations](https://skmtc.dev/brixsignage/apis/brix-api/llms.txt) · [OpenAPI document](https://skmtc.dev/brixsignage/apis/brix-api/revisions/02fd3665dc7d?raw)
