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 | |
| SMTP_PORT_ENABLED | Boolean | SMTP-Port aktivieren / deaktivieren, standardmäßig aus sicherheitsgründen bei eder VM deaktiviert. Mit der Aktivierung übernimmst du die volle Verantwortung für die Nutzung der SMTP-Funktion, einschließlich aller daraus resultierenden Fälle von Spam oder Missbrauch über deine VMs. |
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&SMTP_PORT_ENABLED=REPLACE_VALUE"
Anfrage testen