Skip to main content
Sign out

Authorizations

token
string
query
required

Standard authorization for most API calls. This token identifies the logged-in user and their permissions. It is obtained either as a temporary token after a successful login or as a long-term API key.

Query Parameters

logoutToken
string

Another of the caller's own sessions to end instead of the one making the call, named by the identifier GET /login/sessions reports for it - which carries none of that session's secret. The session's whole token is accepted too, but it belongs in no URL: a query string is logged along the way, and with it the secret. Ending someone else's session is refused.

Pattern: ^[A-Za-z0-9._-]+$
Example:

"Vp8kZ5UBq1nLxY2cF3aD"

Response

The session was ended. Carries the address to finish signing out at the identity provider where one applies.

logoutUrl
string

Address to send the person on to so that the identity provider ends its own session as well. It is absent for an ordinary sign-in and for providers that do not ask to be told. Where the provider is reached over OAuth the address still carries a <REDIRECT> placeholder in place of the return address, which the client fills in before following it.

Example:

"https://id.provider.com/logout?redirect_uri=<REDIRECT>"