EndpointsSessions

Revoke a specific session

Revokes the given session for the authenticated user. The current session cannot be revoked here; use POST /auth/logout for that.

DELETE
/me/sessions/{id}

Authorization

JWT-auth
headerAuthorizationBearer <token>

Path Parameters

id*number

Session ID

Response Body

response?unknownapplication/json
curl -X DELETE 'https://api.routess.com/me/sessions/0'
{  "success": true}