Skip to main content

Update a material

PUT 

/api/v1/materials/:id

PUT and PATCH behave the same: a partial update. Only the fields sent change.

  • parameters is merged into the current parameters; a key set to null returns to its default.
  • metadata replaces 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_flip re-encodes every texture; changing normal_convention re-encodes the normal texture.
  • organization_id set to an empty string removes the organization (not allowed while visibility is organization). Allowed for the creator and the owners and admins of the material's organization.

Request​

Responses​

Material updated