code: public function removeRelationship($resourceType, $id, $relationshipKey, array $queryParams = [])
      {
          $name = RouteName::removeRelationship($resourceType, $relationshipKey);
  
          return $this->resource($name, $id, $queryParams);
      }
docs: Get a link to remove from a resource object's relationship.
  
  @param $resourceType
  @param $id
  @param $relationshipKey
  @param array $queryParams
  @return string