Bulk Delete Units of Measure
DELETE/api/manufacturing/units-of-measure
Delete several custom units of measure in one call.
manufacturing:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Send either ids (an explicit list) or apply_to_all: true together with filters — the same filter keys the list endpoint accepts — to delete every custom unit matching those filters.
System units are immutable and are never deleted, whichever mode is used. A unit still referenced by product configurations, BOM lines, or manufacturing order lines is skipped rather than failing the whole call; each skipped unit is reported in data.failures with its reason.
Auth: requires Bearer token.
Body: ids (array of integers, required unless apply_to_all is true), apply_to_all (boolean, optional), filters (object, optional — used with apply_to_all).
Request
Responses
- 200
- 401
- 403
- 422
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Unprocessable Content
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.