Signing in
Sign out
End this device's session on the server and clear its cookie.
DELETE
/api/v1/sessionOnly the session that makes the request is ended. The account, its claims and its other devices are untouched, and the domains keep being checked.
With no session, or one we don't know, signedOut is false and the answer is still a 200, so repeating it is safe.
Authentication
Works with or without the session cookie. Without it there's less to return. How sessions work.
Response
200 OK, with every field below present. Times are ISO 8601 strings in UTC.
signedOutbooleanTrue when a session was ended. False when there wasn't one, so repeating is safe.
Errors
Nothing specific to this route.
Any route can also answer 500 with internal_error. Every error has the same shape, described in Errors.