agents laboratories detach — acquire the target’s lock(s), delete the (target, laboratory_id) row, release. Errors if the laboratory was not attached to the target.
agents laboratories detach
(target, laboratory_id)