admin-controller

Creates or Updates the repository settings (saveRepositorySettings)

Creates or Updates the repository settings object.

Available for users with 'TENANT_ADMIN' authority.

post/api/admin/repositorySettings

Request

Request body

repositoryUristring
authMethod'USERNAME_PASSWORD' | 'PRIVATE_KEY'
usernamestring
passwordstring
privateKeyFileNamestring
privateKeystring
privateKeyPasswordstring
defaultBranchstring
readOnlyboolean
showMergeCommitsboolean
localOnlyboolean

Response

OK

repositoryUristring
authMethod'USERNAME_PASSWORD' | 'PRIVATE_KEY'
usernamestring
passwordstring
privateKeyFileNamestring
privateKeystring
privateKeyPasswordstring
defaultBranchstring
readOnlyboolean
showMergeCommitsboolean
localOnlyboolean

Changes

No recorded changes to this operation across all 2 revisions of this API.