cURL
curl --request POST \ --url http://localhost:63372/api/captain/config/reset \ --cookie captain_session=
{ "ok": true, "message": "Configuration reset to defaults" }
Reset the gateway configuration to defaults. Captain authentication settings are preserved.
HMAC-signed session cookie returned by /api/captain/auth/login. Valid for 7 days. Invalidated when password changes.
Config reset
true
"Configuration reset to defaults"