src/Traits/ApiActionsChilds.php
public function childDissociate($request, $idParent, $idChild, $relation)
    {
        $idParent = $this->getRealId($idParent);
        $idChild = $this->getRealId($idChild);
        
        if (! $this->repository->detach($idParent, $idChild, $relation)) {
            // return $this->notFound();
        }
        
        return $this->success([]);
    }
public function childDissociate($request, $idParent, $idChild, $relation)
    {
        $idParent = $this->getRealId($idParent);
        $idChild = $this->getRealId($idChild);
        
        if (! $this->repository->detach($idParent, $idChild, $relation)) {
            // return $this->notFound();
        }
        
        return $this->success([]);
    }
Dissociate a new child

@return \Illuminate\Http\Response