VM Einstellungen ändern

POST /vm/:vmid/settings

URL Variablen

Name Beschreibung
vmid Identifier der VM (fünfstellige Zahl)

Body Parameter (application/x-www-form-urlencoded)

Name Format Beschreibung Optional
ROOT_PASSWORD_LOGIN Boolean SSH-Login via Passwort aktivieren / deaktivieren

Response (application/json)

{
    "status": "success",
    "requestID": null,
    "message": "new settings were applied successfully",
    "data": {
        "changes": {
            "ROOT_PASSWORD_LOGIN": false
        }
    }
}

cURL

curl "https://live.fireapi.de/vm/:vmid/settings" -X POST -H "Content-Type: application/x-www-form-urlencoded" -H "X-FIRE-APIKEY: REPLACE_API-KEY" -d "ROOT_PASSWORD_LOGIN=REPLACE_VALUE"

Anfrage testen