URL Variablen
| Name | Beschreibung | 
|---|---|
| vmid | Identifier der VM (fünfstellige Zahl) | 
Body Parameter (application/x-www-form-urlencoded)
| Name | Format | Beschreibung | Optional | 
|---|---|---|---|
| mode | Enum (vm.power_mode) | Power-Aktion welche ausgeführt werden soll | 
Response (application/json)
{
    "status": "success",
    "requestID": "c84b933c-ca49-4a9b-aae9-423f02f342b2",
    "message": "VM power status changed",
    "data": null
}
        cURL
curl "https://live.fireapi.de/vm/:vmid/power" -X POST -H "Content-Type: application/x-www-form-urlencoded" -H "X-FIRE-APIKEY: REPLACE_API-KEY" -d "mode=REPLACE_VALUE"
Anfrage testen