public function deleteRole($roleId)
    {
        $this->roleService->deleteRole(
            $this->roleService->loadRole($roleId)
        );

        return new Values\NoContent();
    }
public function deleteRole($roleId)
    {
        $this->roleService->deleteRole(
            $this->roleService->loadRole($roleId)
        );

        return new Values\NoContent();
    }
public function deleteRole ( $ roleId ) { $ this -> roleService -> deleteRole ( $ this -> roleService -> loadRole ( $ roleId ) ) ; return new Values \ NoContent ( ) ; }
Delete a role by ID.

@param $roleId

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