Remove Part from Unit
DELETE/api/repairs/:repair/lines/:line/parts/:part
Removes a part line from a unit. A consumed part's stock is returned and its posting reversed first. Refused with 422 inside a locked accounting period.
repairs:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
A posted (consumed) part needs the "Repairs: manage costs" permission (403 otherwise); a planned part can be removed by anyone with the repairs:write scope.
Authentication: Bearer token with the repairs:write scope.
Request
Responses
- 200
- 401
- 403
- 404
- 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
Response Headers
Not Found
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.