Skip to main content
Version: v1.0.0(int)

E073: Delete material type

DELETE /api/material-types/:id

Removes a material type that no material references. Triggered from Settings, Material types.

Authentication​

Standard tenant route. Requires Authorization: Bearer <firebase-id-token> and X-Org-Id: <org-id>. Access: Admin.

Request​

No body.

Response — 200 OK​

{ "deletedId": "uuid" }

Echo of the deleted type's id.

Errors​

HTTPcodeCondition
404not_foundNo such type.
409in_useMaterials reference this type.

Workflow​

Calls W073 Delete material type.