⭐ 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

curl -X DELETE "https://example.com/api/user/sessions" \  -H "Content-Type: application/json" \  -d '{}'
{  "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"    }  ]}