public function deleteObjectState($objectStateId)
    {
        $this->objectStateService->deleteObjectState(
            $this->objectStateService->loadObjectState($objectStateId)
        );

        return new Values\NoContent();
    }
public function deleteObjectState($objectStateId)
    {
        $this->objectStateService->deleteObjectState(
            $this->objectStateService->loadObjectState($objectStateId)
        );

        return new Values\NoContent();
    }
public function deleteObjectState ( $ objectStateId ) { $ this -> objectStateService -> deleteObjectState ( $ this -> objectStateService -> loadObjectState ( $ objectStateId ) ) ; return new Values \ NoContent ( ) ; }
The given object state is deleted.

@param $objectStateId

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