Browse the docs

DELETE /signins/{name}

Deletes a saved sign-in; the engine keeps it for five minutes so it can be restored.

Details #

Removes the sign-in from the Keychain. The engine holds it in memory for five minutes, so POST /signins/{name}/restore can bring it back without the app ever seeing a cookie value. 404 when there is no such sign-in.

Parameters #

curl --unix-socket "$SWITCHBOARD_HOME/engine.sock" -X DELETE http://localhost/signins/{name}

Delete a sign-in; it can be restored for five minutes. The Unix socket needs no token; loopback 127.0.0.1:48080 needs Authorization: Bearer <api-token>.

See also #