public function deleteObjectStateGroup($objectStateGroupId)
    {
        $this->objectStateService->deleteObjectStateGroup(
            $this->objectStateService->loadObjectStateGroup($objectStateGroupId)
        );

        return new Values\NoContent();
    }
public function deleteObjectStateGroup($objectStateGroupId)
    {
        $this->objectStateService->deleteObjectStateGroup(
            $this->objectStateService->loadObjectStateGroup($objectStateGroupId)
        );

        return new Values\NoContent();
    }
public function deleteObjectStateGroup ( $ objectStateGroupId ) { $ this -> objectStateService -> deleteObjectStateGroup ( $ this -> objectStateService -> loadObjectStateGroup ( $ objectStateGroupId ) ) ; return new Values \ NoContent ( ) ; }
The given object state group including the object states is deleted.

@param $objectStateGroupId

@return \eZ\Publish\Core\REST\Server\Values\NoContent
The given object state group including the object states is deleted .