One connection with the sources it syncs and the tools it provides
One connection with the sources it syncs and the tools it provides.
Not available to personal access tokens; call it from a signed-in session.
bearerAuthorizationBearer <token>A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).
connection_id*stringSuccess
curl -X GET 'http://localhost:7091/api/connections/string'Remove a connection: {sources: keep | delete, tools: delete | keep} DELETE
Remove a connection: {sources: keep | delete, tools: delete | keep}. Kept sources keep their content and stop syncing. Not available to [personal access tokens](/API/personal-access-tokens); call it from a signed-in session.
GitHub: the repositories the connection can read, for the sync picker GET
GitHub: the repositories the connection can read, for the sync picker. install_url is where a GitHub App sign-in chooses more repositories. Not available to [personal access tokens](/API/personal-access-tokens); call it from a signed-in session.