POST /signins/sign-in-now/cancel
Closes the tab Sign in now opened, saving nothing.
Details #
Body: {"tabId": 12, "browser": "chrome"}. Closes that tab. Answers {"cancelled": true} even if the tab is already gone.
Parameters #
curl --unix-socket "$SWITCHBOARD_HOME/engine.sock" -X POST http://localhost/signins/sign-in-now/cancel
Close the Sign in now tab without saving. The Unix socket needs no token; loopback 127.0.0.1:48080 needs Authorization: Bearer <api-token>.