Delete a git connection
Removes a team's provider authorisation. It is refused with FAILED_PRECONDITION while any function still deploys through it: move or delete those functions first (GitConnection.functions gives the count). An unknown connection is NOT_FOUND.
Needs the admin role in the owning team. A team API key never holds that role, so in practice this needs a signed-in team admin. The deletion is recorded in the platform audit log.
Required scopes: functions:functions:edit
Authorization
BearerAuth A team API key, created by a team admin in the console and presented as
Authorization: Bearer xk_…. Xeonr Auth issues and verifies it; the
secret is shown once at creation and stored only as a hash, and a
revoked key stops working within 30 seconds. An existing fnt_… token
is accepted the same way.
In: header
Header Parameters
Define the version of the Connect protocol
1Define the timeout, in ms
Request Body
application/json
^[A-Za-z0-9_-]+$1 <= length <= 64Response Body
application/json
application/json
curl -X POST "https://functions.xeonr.io/xeonr.functions.v2.ConnectionsService/DeleteConnection" \ -H "Connect-Protocol-Version: 1" \ -H "Content-Type: application/json" \ -d '{}'{}Connections
A team's git provider connections. Reachable with a team API key.
List a team's git connections POST
Lists a team's provider authorisations, oldest first: GitHub App installations and GitLab access. Each comes with the account it covers, when its credential expires, and how many functions deploy through it. `ownerTeam` (a team URN or slug) needs the viewer role in that team. Pages default to 50 connections and are capped at 500 (`limit`); pass `nextCursor` back as `cursor` until it comes back empty. Callable with a console session or a team API key (`Authorization: Bearer xk_…`). **Required scopes:** `functions:functions:read`