Get startedSign in

Update scm connection

PUT/v1/api/scm/connections/{id}
Parameters
Responses
ParameterTypeDescription
idrequiredstring
api_urlstringBase URL for HTTP APIs for self-hosted versions if different from base URL
base_urlstringBase URL for Git clones for self-hosted versions
defaultbooleanWhether this is the default SCM connection
githubobjectGithub App authentication configuration
namerequiredstringThe name of the SCM connection
signing_private_keystringA private key used for signing commits
tokenstringThe access token for authentication
typerequiredstring
usernamestringThe username for authentication
Response samples
200
{
  "api_url": "string",
  "base_url": "string",
  "default": false,
  "github": {
    "app_id": "string",
    "installation_id": "string"
  },
  "id": "string",
  "inserted_at": "string",
  "name": "string",
  "type": "github",
  "updated_at": "string",
  "username": "string"
}