Update a VCS repository.
post/midgard/v0.1/vcsrepo/{vcsRepoId}
Update the details for an existing VCS repository.
Request
Authorization
X-AT
header
apiKey
Body
application/json
uriThe URI of the repository.
string
username
string
hasPasswordWhen a user edits a project or VCS repository and DOES NOT CHANGE the password, the client should indicate this by setting `hasPassword` to true.
boolean
passwordEncrypted and base64 encoded.
string
confirmationPassword confirmation, encrypted and base64 encoded.
string
docrootLegacy, not used.
string
Response
200VCS repository updated successfully.
403User is not allowed to access this resource.
404VCS repository not found.
422Validation error.
500VCS repository not updated due to server error.
Shell cURL
shell
Show schema
json