src/Entity/XiboCampaign.php
public function unassignLayout($unassignLayoutId = [])
    {
        for ($j = 0; $j < count($unassignLayoutId); $j++) {
            $this->doPost('/campaign/layout/assign/' . $this->campaignId, [
                'unassignLayoutId' => [
                    [
                        'layoutId' => $unassignLayoutId[$j],
                    ]
                ]
            ]);
            $this->getLogger()->info('Removing assignment Layout ID ' . $unassignLayoutId[$j] . ' From Campaign ID ' . $this->campaignId);
        }

        return $this;

    }
public function unassignLayout($unassignLayoutId = [])
    {
        for ($j = 0; $j < count($unassignLayoutId); $j++) {
            $this->doPost('/campaign/layout/assign/' . $this->campaignId, [
                'unassignLayoutId' => [
                    [
                        'layoutId' => $unassignLayoutId[$j],
                    ]
                ]
            ]);
            $this->getLogger()->info('Removing assignment Layout ID ' . $unassignLayoutId[$j] . ' From Campaign ID ' . $this->campaignId);
        }

        return $this;

    }
public function unassignLayout ( $ unassignLayoutId = [ ] ) { for ( $ j = 0 ; $ j < count ( $ unassignLayoutId ) ; $ j ++ ) { $ this -> doPost ( '/campaign/layout/assign/' . $ this -> campaignId , [ 'unassignLayoutId' => [ [ 'layoutId' => $ unassignLayoutId [ $ j ] , ] ] ] ) ; $ this -> getLogger ( ) -> info ( 'Removing assignment Layout ID ' . $ unassignLayoutId [ $ j ] . ' From Campaign ID ' . $ this -> campaignId ) ; } return $ this ; }
Unassign layout from the campaign.

@param array $unassignLayoutId Array of layouts Ids to unassign from the campaign
@return XiboCampaign
Unassign layout from the campaign .