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

# Patch Materials

`PATCH /materials`

## Request

- Base URL: `https://api.iliad.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.iliad.ai/materials`
- Auth: OAuth 2
  - Password
  - Token URL: `token`

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/iliad-api.md) - [All operations](https://skmtc.dev/iliad/apis/iliad-api/llms.txt) - [OpenAPI document](https://skmtc.dev/iliad/apis/iliad-api/revisions/a7c619f2643a?raw)
