---
title: "Patch Materials"
method: PATCH
path: "/materials"
---

# Patch Materials

`PATCH /materials`

Updates a material for this user.

## Request body

- PatchMaterialsRequest
  - `patches` MaterialPatch[], required
    - `generation_id` string, required
    - `saved` boolean, nullable
    - `deleted` boolean, nullable
    - `downloaded` boolean, nullable

## Response `200`

Successful Response

- PatchMaterialsResponse

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/iliad/apis/fastapi.md) · [All operations](https://skmtc.dev/iliad/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/iliad/fastapi/revisions/c1701119b330/schema)
