Update a VCS Host.
post/midgard/v0.1/vcshost/{vcsHostId}
Updates the details for an existing VCS Host.
Request
Authorization
X-AT
header
apiKey
Path Parameters
vcsHostIdThe VCS Host ID.
integer
REQUIRED
Body
application/json
nameThe name of the VCS Host.
string
typeThe type of VCS host. (see /midgard/v0.1/vcshost/list-providers)
string
apiUriThe API URI of the VCS Host.
string
tokenThe encrypted and base64 encoded API token for VCS Host access.
string
Response
200VCS Host updated successfully.
403User is not allowed to access this resource.
404VCS Host not found.
422Missing mandatory fields.
500VCS Host not created due to server error.
Shell cURL
shell
Show schema
json