PATCH
/
organizations
/
{organizationId}
/
code-repos
/
{codeRepoId}

Headers

Authorization
string
required

Path Parameters

organizationId
string
required
codeRepoId
string
required

Body

application/json
azureDevopsAccountName
string
azureDevopsAuthorizationId
string
azureDevopsProjectId
string
azureDevopsRepositoryId
string
azureDevopsUrl
string
bitbucketAuthorizationId
string
bitbucketProjectId
string
bitbucketRepositoryId
string
bitbucketServerProjectId
number
bitbucketServerProjectKey
string
bitbucketServerRepositoryId
number
bitbucketServerRepositorySlug
string
bitbucketServerTokenId
string
bitbucketServerUrl
string
bitbucketUrl
string
bitbucketWorkspaceId
string
githubInstallId
string
githubOwnerId
number
githubOwnerLogin
string
githubRepositoryId
number
githubRepositoryName
string
githubUrl
string
gitlabAuthorizationId
string
gitlabGroupId
number
gitlabProjectId
number
gitlabUrl
string
name
string
refs
object
type
enum<string>
Available options:
azure-devops,
bitbucket,
bitbucket-server,
github,
gitlab
url
string

Response

200 - application/json
codeRepo
object
required