Browse the docs

POST /signins/{name}/restore

Puts back a sign-in deleted in the last five minutes.

Details #

Answers the restored item. 404 when nothing was deleted under that name in the last five minutes; 409 when a sign-in of that name exists again.

Parameters #

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

Put back a sign-in deleted in the last five minutes. The Unix socket needs no token; loopback 127.0.0.1:48080 needs Authorization: Bearer <api-token>.

See also #