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

E074: Check if material type is in use

GET /api/material-types/:id/in-use

Returns whether any material references the given type. Used by the UI before exposing the delete action (W073).

Authentication

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

Request

No body.

Response — 200 OK

{ "inUse": true, "sampleMaterialIds": ["uuid"] }

Errors

HTTPcodeCondition
404not_foundNo such type.

Workflow

Calls W074 Check if material type is in use.