Update repository
Update a repository’s settings. Updating repository settings uses a JSON patch or JSON merge patch representation of the desired changes. To learn more, read Updates.
Path parameters
repo
The repository name
Headers
Authorization
Request
This endpoint expects a list of objects.
op
The type of operation to perform
path
A JSON Pointer string specifying the part of the document to operate on
value
Response
Repository response
name
The repository name
type
The type of repository
Allowed values:
defaultBranch
The repository’s default branch
enabled
Whether or not a repository is enabled for code reference scanning
version
The version of the repository’s saved information
_links
sourceLink
A URL to access the repository
commitUrlTemplate
A template for constructing a valid URL to view the commit
hunkUrlTemplate
A template for constructing a valid URL to view the hunk
branches
An array of the repository’s branches that have been scanned for code references
_access