Console Token
This API is used to get a token to access the console
post
Authorizations
AuthorizationstringRequired
Type 'Bearer ' followed by your JWT token. Example: "Bearer eyJhbGciOi..."
Body
namespacestringRequired
project_idstringRequired
sourcestring · enumRequiredPossible values:
vm_namestringRequired
Responses
200
Successful Response
application/json
codeintegerOptionalExample:
200dataanyOptional
messagestringOptionalExample:
Success403
Forbidden
application/json
post/core/virtual-machine/console
POST /core/virtual-machine/console HTTP/1.1
Host: ai.cloudeka.id/
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 80
{
"namespace": "text",
"project_id": "text",
"source": "open_source",
"vm_name": "text"
}{
"code": 200,
"data": null,
"message": "Success"
}Last updated