Connect Azure Repos with a token
Verifies a repository and saves an encrypted PAT connection. The connection can discover other accessible repositories in this Azure organization or Server collection. Requires an admin and integrations:write. Use Code (Read & write), User profile (Read), and permission to manage project service hooks for all features. Register repositories separately to enable scans and reviews.
Authorizations
API token obtained from the Tokens endpoint or CLI device login. Include as Authorization: Bearer <token>. Requests made with a managed CLI session also include X-Strix-Workspace: <organization_id> to pin a process to the workspace it started in; recovery endpoints report the current workspace after a concurrent switch.
Body
HTTPS Azure repository URL. dev.azure.com supports short or full URLs; on-prem Strix also accepts full Azure DevOps Server 2022+ URLs including collection and project.
Short-lived Azure PAT with Code (Read) permission.
Existing installation owned by this organization, for token replacement.
x >= 1