Allocate a new Agent VM
POST
/compute/v1/vms/allocateAllocates a VM from the pool or creates a new one for the requesting org
Headers
Authorizationstring
Bearer <token>. STS access token. Obtain via POST https://sts.hexelstudio.com/token with X-API-Key header.
Body parameters
Allocation parameters
envoptional map[string]
metadataoptional map[string]
org_idoptional string
secure_runtimeoptional string
skillsoptional array of string
tierstring
ttl_secondsoptional integer
Returns
201CreatedAllocateResponse
endpointoptional string
expires_atoptional string
skills_loadedoptional array of string
stateoptional string
tieroptional string
tokenoptional string
vm_idoptional string
ws_urloptional string
Errors
- 400Bad Request
- 503No VMs available, retry shortly