Logout Other Clients

Prev Next
Post
/api/v1/users.logoutOtherClients

Requires the LoginExpiration settings enabled in Accounts > Login Expiration in Days which defines how long a login token remains valid before expiration.

Header parameters
X-Auth-Token
stringRequired

The authenticated user token.

ExampleRScctEHSmLGZGywfIhWyRpyofhKOiMoUIpimhvheU3f
X-User-Id
stringRequired

The authenticated user ID.

ExamplerbAXPnMktTFbNpwtJ
Responses
200
Success Example
{
  "token": "SnS70r0VkngGFrSbxVK-pdwFMEzhefcjQgdnXaPeAaq",
  "tokenExpires": "2021-12-27T14:33:09.851Z",
  "success": true
}
object
token
string
tokenExpires
string
success
boolean
401

Unauthorized

Authorization Error
{
  "status": "error",
  "message": "You must be logged in to do this."
}
object
status
string
message
string