⭐ If you find Zipline useful, please consider giving it a star on Github! ⭐

/api/user/sessions

Invalidate one or all other sessions for the authenticated user.

DELETE/api/user/sessions

Request Body

application/json

Response Body

application/json

application/json

{
  "current": {
    "id": "string",
    "createdAt": "2019-08-24T14:15:22Z",
    "ua": "string",
    "client": "string",
    "device": "string",
    "userId": "string"
  },
  "other": [
    {
      "id": "string",
      "createdAt": "2019-08-24T14:15:22Z",
      "ua": "string",
      "client": "string",
      "device": "string",
      "userId": "string"
    }
  ]
}

{
  "error": "E1000: Invalid request schema",
  "code": 1000,
  "statusCode": 400
}