---
title: "List unlinked Azure DevOps repositories"
method: POST
path: "/api/v2/installations/unlinkedAzureDevOpsRepositories"
tags: ["Installations"]
---

# List unlinked Azure DevOps repositories

`POST /api/v2/installations/unlinkedAzureDevOpsRepositories`

## Request

- Base URL: `https://zeropath.com`
- URL: `https://zeropath.com/api/v2/installations/unlinkedAzureDevOpsRepositories`
- Auth: API key in header `X-ZeroPath-API-Token-Id` and API key in header `X-ZeroPath-API-Token-Secret`

List Azure DevOps Services repositories visible to the connected organization that are not yet linked.

## Request body

- InstallationsUnlinkedAzureDevOpsRepositoriesRequest
  - `organizationId` string, required
  - `cursor` string
  - `search` string
  - `showArchived` boolean
  - `limit` integer

## Response `200`

Unlinked repositories

- InstallationsUnlinkedRepositoriesResponse
  - `items` InstallationsUnlinkedRepositoryItem[], required
    - `id` string, required
    - `name` string, required
    - `defaultBranch` string, nullable, required
    - `archived` boolean, required
    - `vcs` object, required
  - `hasMore` boolean, required
  - `nextCursor` string, nullable, required
  - `syncStatus` InstallationsSyncStatus[], nullable
    - `installationId` string, required
    - `jobId` string, required
    - `alreadyRunning` boolean, required
    - `lastSyncError` string, nullable, required: Why the most recent completed sync attempt failed (e.g. invalid app credentials). Null when it succeeded.
  - `installationCount` integer: GitHub/GHES only: number of installations in the requested provider scope.
  - `accessibleRepositoryCount` integer, nullable: GitHub/GHES only: all accessible repositories, including linked and archived repositories, independent of search. Returned on the first page; null on subsequent pages.
  - `totalCount` integer, nullable: Total matching repositories when available. Null when the provider cannot compute a stable total for the query.

## Other responses

- `400`: Error Response
- `401`: Error Response

---

[API](https://skmtc.dev/zeropath/apis/zeropath-api.md) - [All operations](https://skmtc.dev/zeropath/apis/zeropath-api/llms.txt) - [OpenAPI document](https://skmtc.dev/zeropath/apis/zeropath-api/revisions/126e9c80ba0d?raw)
