Suble.io
  • Introduction
  • Roadmap
  • Project
    • List
    • Get
    • Create
    • Transactions
    • Keys
    • Invoices
    • Members
  • Virtual Machine
    • List
    • Get
    • Create
    • Modify
    • Rescale
    • rDNS
    • Console
    • Actions
    • Controls
    • Cancel
    • Delete
    • Network Usage
  • Floating IP
    • List
    • Order
    • Get
    • Assign
    • rDNS
    • Delete
    • Network Usage
  • Network
    • List
    • Get
  • Billing
    • Pricing
    • Operating Systems
  • Changelog
    • 19-06-2022
    • 28-02-2022
    • 18-11-2021
    • 20-10-2021
    • 28-09-2021
    • 14-09-2021
    • 01-08-2021
    • 18-06-2021
    • 17-06-2021
    • 14-06-2021
Powered by GitBook
On this page

Was this helpful?

  1. Virtual Machine

Controls

Available for user tokens and project keys

Controls

POST https://api.suble.io/projects/:projectId/vm/:vmId/controls/:type

This endpoint allows you to start, stop or reset a virtual machine.

Path Parameters

Name
Type
Description

projectId

string

Unique id for the project

vmId

string

Unique id for the virtual machine

type

string

Enum (start / stop / reset)

Headers

Name
Type
Description

Authorization

string

User token or project key

{
        "_id": ObjectId,
        "user": ObjectId, // nullable
        "apikey": String, // nullable
        "type": String,
        "command": String,
        "vm": String,
        "running": Boolean,
        "progress": Number,
        "date": Number // Date time unix
}
{
    "error": String
}

PreviousActionsNextCancel

Last updated 3 years ago

Was this helpful?