Create a new VCS Host.
post/midgard/v0.1/vcshost
Creates a new VCS Host for a customer.
Request
Authorization
X-AT
header
apiKey
Body
application/json
nameThe name of the VCS Host.
string
REQUIRED
typeThe type of VCS host. (see /midgard/v0.1/vcshost/list-providers)
string
REQUIRED
apiUriThe API URI of the VCS Host.
string
REQUIRED
tokenThe encrypted and base64 encoded API token for VCS Host access.
string
Response
201VCS Host created successfully.
403User is not allowed to access this resource.
422Missing mandatory fields.
500VCS Host not created due to server error.
Shell cURL
shell
Show schema
json