---
title: "Create Azure DevOps PAT installation"
method: POST
path: "/api/v1/installations/create-azure-devops-pat-installation"
tags: ["Installations"]
---

# Create Azure DevOps PAT installation

`POST /api/v1/installations/create-azure-devops-pat-installation`

## Request

- Base URL: `https://zeropath.com`
- URL: `https://zeropath.com/api/v1/installations/create-azure-devops-pat-installation`
- Auth: API key in header `X-ZeroPath-API-Token-Id` and API key in header `X-ZeroPath-API-Token-Secret`

Connects an Azure DevOps Services organization using an encrypted personal access token.

## Request body

- CreateAzureDevOpsPatInstallationInput
  - `organizationId` string, required
  - `azureOrganizationUrl` string, uri, required: Azure DevOps Services organization URL, for example https://dev.azure.com/org
  - `pat` string, required: Azure DevOps personal access token with repository and service-hook scopes.

## Response `200`

Successful response

- object
  - `id` string

## Other responses

- `400`: Bad Request
- `401`: Unauthorized

---

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