Log out
Ends the session the request came with. A key that luna login made is revoked the same way. Other keys are revoked by id.
POST
/_luna/auth/logoutAuthorization
AuthorizationBearer token · headerrequiredAn account key (la_…), an API key (lt_…) or a session token (ls_…). The scopes listed are the permissions the operation needs.
Responses
200
The session has ended.
okbooleanrequiredAlways true.
default
The request failed. The status says how and error.message says why.
errorErrorDetailrequiredShow propertiesHide properties
codestring | nullA code for programs to branch on, when the error has one.
messagestringrequiredWhat went wrong, in a sentence a person can read.