Update a VCS root of the matching build configuration.

PUT {{baseUrl}}/app/rest/buildTypes/:btLocator/vcs-root-entries/:vcsRootLocator?fields=<string>

Request Params

KeyDatatypeRequiredDescription
fieldsstring

Request Body

{"id"=>"<string>", "inherited"=>"<boolean>", "vcs-root"=>{"id"=>"<string>", "internalId"=>"<string>", "uuid"=>"<string>", "name"=>"<string>", "vcsName"=>"<string>", "modificationCheckInterval"=>"<integer>", "href"=>"<string>", "project"=>{"id"=>"<string>", "internalId"=>"<string>", "uuid"=>"<string>", "name"=>"<string>", "parentProjectId"=>"<string>", "parentProjectInternalId"=>"<string>", "parentProjectName"=>"<string>", "archived"=>"<boolean>", "description"=>"<string>", "href"=>"<string>", "webUrl"=>"<string>", "links"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "parentProject"=>{"value"=>"<Circular reference to #/components/schemas/project detected>"}, "readOnlyUI"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "defaultTemplate"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "buildTypes"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "templates"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "parameters"=>{"count"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "href"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "property"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "vcsRoots"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "projectFeatures"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "projects"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "cloudProfiles"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "locator"=>"<string>"}, "properties"=>{"count"=>"<integer>", "href"=>"<string>", "property"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}]}, "vcsRootInstances"=>{"count"=>"<integer>", "href"=>"<string>", "nextHref"=>"<string>", "prevHref"=>"<string>", "vcs-root-instance"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}]}, "repositoryIdStrings"=>{"item"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}]}, "projectLocator"=>"<string>", "locator"=>"<string>"}, "checkout-rules"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;inherited&quot;:&quot;\u003cboolean\u003e&quot;,&quot;vcs-root&quot;:{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;internalId&quot;:&quot;\u003cstring\u003e&quot;,&quot;uuid&quot;:&quot;\u003cstring\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;vcsName&quot;:&quot;\u003cstring\u003e&quot;,&quot;modificationCheckInterval&quot;:&quot;\u003cinteger\u003e&quot;,&quot;href&quot;:&quot;\u003cstring\u003e&quot;,&quot;project&quot;:{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;internalId&quot;:&quot;\u003cstring\u003e&quot;,&quot;uuid&quot;:&quot;\u003cstring\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;parentProjectId&quot;:&quot;\u003cstring\u003e&quot;,&quot;parentProjectInternalId&quot;:&quot;\u003cstring\u003e&quot;,&quot;parentProjectName&quot;:&quot;\u003cstring\u003e&quot;,&quot;archived&quot;:&quot;\u003cboolean\u003e&quot;,&quot;description&quot;:&quot;\u003cstring\u003e&quot;,&quot;href&quot;:&quot;\u003cstring\u003e&quot;,&quot;webUrl&quot;:&quot;\u003cstring\u003e&quot;,&quot;links&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;parentProject&quot;:{&quot;value&quot;:&quot;\u003cCircular reference to #/components/schemas/project detected\u003e&quot;},&quot;readOnlyUI&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;defaultTemplate&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;buildTypes&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;templates&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;parameters&quot;:{&quot;count&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;href&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;property&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},&quot;vcsRoots&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;projectFeatures&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;projects&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;cloudProfiles&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;locator&quot;:&quot;\u003cstring\u003e&quot;},&quot;properties&quot;:{&quot;count&quot;:&quot;\u003cinteger\u003e&quot;,&quot;href&quot;:&quot;\u003cstring\u003e&quot;,&quot;property&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}]},&quot;vcsRootInstances&quot;:{&quot;count&quot;:&quot;\u003cinteger\u003e&quot;,&quot;href&quot;:&quot;\u003cstring\u003e&quot;,&quot;nextHref&quot;:&quot;\u003cstring\u003e&quot;,&quot;prevHref&quot;:&quot;\u003cstring\u003e&quot;,&quot;vcs-root-instance&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}]},&quot;repositoryIdStrings&quot;:{&quot;item&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}]},&quot;projectLocator&quot;:&quot;\u003cstring\u003e&quot;,&quot;locator&quot;:&quot;\u003cstring\u003e&quot;},&quot;checkout-rules&quot;:&quot;\u003cstring\u003e&quot;}