Skip to main content
POST
/
api
/
v1
/
installations
/
create-azure-devops-pat-installation
Create Azure DevOps PAT installation
curl --request POST \
  --url https://zeropath.com/api/v1/installations/create-azure-devops-pat-installation \
  --header 'Content-Type: application/json' \
  --header 'X-ZeroPath-API-Token-Id: <api-key>' \
  --header 'X-ZeroPath-API-Token-Secret: <api-key>' \
  --data '
{
  "organizationId": "<string>",
  "azureOrganizationUrl": "<string>",
  "pat": "<string>"
}
'
{
  "id": "<string>"
}

Authorizations

X-ZeroPath-API-Token-Id
string
header
required
X-ZeroPath-API-Token-Secret
string
header
required

Body

application/json
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

Successful response

id
string