public function deleteCorruptedUrlAliases(): int
    {
        if ($this->repository->getPermissionResolver()->hasAccess('content', 'urltranslator') !== true) {
            throw new UnauthorizedException('content', 'urltranslator');
        }

        return $this->urlAliasHandler->deleteCorruptedUrlAliases();
    }