---
title: "Update Item"
method: PATCH
path: "/drive/items/{item_ref}"
tags: ["drive"]
---

# Update Item

`PATCH /drive/items/{item_ref}`

## Request

- Base URL: `https://api.moda.app/v1`
- URL: `https://api.moda.app/v1/drive/items/{item_ref}`
- Auth: HTTP bearer

Rename a folder/canvas/file, and/or set canvas/file visibility.

Renames run the same service paths as the app (folder — edit permission +
per-location uniqueness; canvas — the metadata updater behind
``PATCH /v1/canvases``; file — edit permission). Visibility runs the shared
``item_visibility`` setters — the app's exact rules: a canvas's visibility
can only be changed by its creator; a file's needs edit permission.
``private`` hides the item from teammates.

## Path parameters

- `item_ref` string, required

## Headers

- `Moda-Version` '2026-04-12' | '2026-05-01'

## Request body

- ItemUpdateRequest
  - `name` string, nullable: New display name.
  - `visibility` 'team' | 'private', nullable: New visibility — canvases and files only (folders are rejected). ``private`` hides the item from teammates; ``team`` makes it visible to the whole team. Canvas visibility can only be changed by its creator; file visibility needs edit permission (the app's own rules).

## Response `200`

Successful Response

- object

## Other responses

- `401`: Authentication required.
- `402`: Insufficient credits for a metered operation.
- `403`: Permission denied for this scope.
- `404`: Resource not found.
- `409`: Conflict (idempotency / resource state).
- `422`: Request validation failed.
- `429`: Rate limit exceeded.
- `500`: Internal error.

## Changes

- **2026-11-03** `9ac6a3abc0f8`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/moda/apis/moda-public-api/changes/drive/items/:item_ref/patch.md)

---

[API](https://skmtc.dev/moda/apis/moda-public-api.md) - [All operations](https://skmtc.dev/moda/apis/moda-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/moda/apis/moda-public-api/revisions/9ac6a3abc0f8?raw)
