Skip to main content

Delete Repair Cost

DELETE 

/api/repairs/:repair/costs/:cost

Deletes a cost line. A consumed part is first returned to stock at its consumed cost; a posted line's journal is reversed. Posted lines need the "Repairs: manage costs" permission and are refused with 422 inside a locked accounting period.

Required scope: repairs:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Authentication: Bearer token with the repairs:write scope.

Request​

Responses​

OK

Response Headers
    Content-Type