Create VM with YAML
This API is used to create a new VM with YAML
post
Authorizations
AuthorizationstringRequired
Type 'Bearer ' followed by your JWT token. Example: "Bearer eyJhbGciOi..."
Body
project_idstringOptional
Responses
200
Successful Response
application/json
codeintegerOptionalExample:
200dataanyOptional
messagestringOptionalExample:
Successpost/core/virtual-machine/yaml
POST /core/virtual-machine/yaml HTTP/1.1
Host: ai.cloudeka.id/
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 76
{
"project_id": "text",
"vm_definition": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}200
Successful Response
{
"code": 200,
"data": null,
"message": "Success"
}Last updated