/** * Removes all details about a PublishSet from the product service. If the discardDrafts param is true, it also deletes the product drafts. * * @param bool $discardDrafts * @param string $publishSetCode */ public static function deletePublishSetClient($publishSetCode, $discardDrafts = null) { $url = PublishingScopeUrl::deletePublishSetUrl($discardDrafts, $publishSetCode); $mozuClient = new MozuClient(); $mozuClient->withResourceUrl($url); return $mozuClient; }