compute
DELETE /v1/compute/servers/{serverId}/terminal/host-key
Trust a server's new SSH identity on the next terminal connection.
Uwierzytelnianie
Wyślij klucz API jako token bearer. Klucz musi posiadać uprawnienie sites.restart; klucz bez niego jest odrzucany z kodem 403, a nie 404.
Ten punkt końcowy nie wymaga identyfikatora organizacji. Twój klucz już identyfikuje organizację, do której należy, a odpowiedź jest do niej ograniczona.
Wypróbuj
Zastąp wszystko w nawiasach ostrych własnymi wartościami, a zastępczy znacznik klucza kluczem ze swojego pulpitu nawigacyjnego.
curl -X DELETE https://api.zinndigital.com/v1/compute/servers/{serverId}/terminal/host-key \
-H "Authorization: Bearer zdk_live_…"Zalogowany? Konsola API w Twoim panelu uzupełnia rzeczywiste identyfikator organizacji oraz Twój własny klucz i wykonuje żądanie względem aktywnego API, dzięki czemu możesz zobaczyć rzeczywistą odpowiedź. Otwórz ten punkt końcowy w konsoli API
Szczegóły
Drops the host key the web terminal pinned. A rebuild does this itself, because a fresh image is a fresh key. ⛔ A key that changed when nobody rebuilt the machine is what an interception looks like — the screen says so before offering this. Audit-logged. Requires sites.restart.
Parametry
| Nazwa | Typ | Wymagane | Co to jest |
|---|---|---|---|
serverId (path) | Uuid | Tak | The server's id, as listComputeServers reports it. Ours (UUIDv7), minted when the order row was written — never the provider's own identifier for the machine. |
Błędy, które ten punkt końcowy może zwrócić
401 · 403 · 404 · 429