Skip to main content

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.

Required scope: repairs:write

Grant 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​

OK

Response Headers
    Content-Type