---
title: "Update material (multipart: any subset of name, llmPrompt, thumbnail, texture)"
method: PATCH
path: "/v1/admin/materials/{materialId}"
tags: ["Admin Design Catalog"]
---

# Update material (multipart: any subset of name, llmPrompt, thumbnail, texture)

`PATCH /v1/admin/materials/{materialId}`

## Path parameters

- `materialId` string, required

## Response `200`

Material updated successfully

- MaterialApiResponseDto
  - `success` boolean, required — Indicates if the request was successful
  - `message` string, required — Human readable message
  - `data` object, required — Response data
    - `id` string, uuid, required — Unique identifier of the material
    - `name` string, required — Name of the material
    - `thumbnailUrl` string, uri, required — URL of the material thumbnail
    - `textureUrl` string — URL of the material texture
    - `textureWidth` integer, required — Intrinsic texture width in pixels
    - `textureHeight` integer, required — Intrinsic texture height in pixels
    - `llmPrompt` string, nullable — Prompt used to describe material
    - `category` 'wood_flooring' | 'concrete' | 'tile' | 'fabric' | 'wood' | 'stone' | 'metal' | 'rug' | 'plant' | 'wood_paneling' | 'brick' | 'outdoor', required — Category of the material
    - `deletedAt` unknown
    - `createdAt` unknown, required
    - `updatedAt` unknown, required
  - `timestamp` string, date-time, required — Timestamp of the response

---

[API](https://skmtc.dev/maket/apis/virtual-architect-api.md) · [All operations](https://skmtc.dev/maket/apis/virtual-architect-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/maket/virtual-architect-api/revisions/7635e6f94477/schema)
