public function deleteSection($sectionId)
    {
        $this->sectionService->deleteSection(
            $this->sectionService->loadSection($sectionId)
        );

        return new NoContent();
    }
public function deleteSection($sectionId)
    {
        $this->sectionService->deleteSection(
            $this->sectionService->loadSection($sectionId)
        );

        return new NoContent();
    }
public function deleteSection ( $ sectionId ) { $ this -> sectionService -> deleteSection ( $ this -> sectionService -> loadSection ( $ sectionId ) ) ; return new NoContent ( ) ; }
Delete a section by ID.

@param $sectionId

@return \eZ\Publish\Core\REST\Server\Values\NoContent
Delete a section by ID .