Delete a bin
Permanently delete a bin. This is a hard delete — the bin is gone for good and cannot be recovered; there is no soft-delete or undo.
Deleting a bin also detaches it from everything associated to it: any packages, batches, plants, plant groups and assembly outputs that referenced this bin are unbinned. Those records, and their inventory, are not deleted — they simply no longer point to any bin. Nothing about inventory quantities, packages, or compliance changes; only the bin association is removed.
Returns 404 if no bin with that ID belongs to your company (the lookup is company-scoped), and 204 with no body on success.
Bins only exist for companies that have bin inventory tracking enabled; if it is disabled the request is rejected.
Required permission: settings_permissions_bins.
Path parameters
The bin's ID.
Response
No Content
Changes
No recorded changes to this endpoint across all 1 revision of this API.