Update a material (partial)
PATCH/api/v1/materials/:id
PUT and PATCH behave the same: a partial update. Only the fields sent change.
parametersis merged into the current parameters; a key set tonullreturns to its default.metadatareplaces the stored metadata.- A map slot is replaced only when it is sent; its runtime textures are encoded again and the files served now stay until the new ones are ready.
- Changing
y_flipre-encodes every texture; changingnormal_conventionre-encodes the normal texture. organization_idset to an empty string removes the organization (not allowed while visibility isorganization). Allowed for the creator and the owners and admins of the material's organization.
Request
Responses
- 200
- 401
- 403
- 404
- 422
Material updated
Not signed in or invalid API key
Not allowed to edit this material, or organization_id is not one of your organizations
Not found
Validation failed