ReferenceSessions
Revoke All Sessions
Revoke all sessions for the current user. By default, excludes the current session (the one making this request). Set exclude_current=false to revoke ALL sessions including the current one.
Query Parameters
exclude_current?boolean
Default
trueHeader Parameters
authorization?|
X-API-Key?|
Cookie Parameters
vai_token?|
Response Body
application/json
application/json
curl -X DELETE "https://loading/api/v1/sessions"{
"revokedCount": 0
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}