Sign out all sessions

posthttps://api.expiryedge.com/v1/revokeAllSessions
any role (self only)60/minJede Methode
Anfrage
curl -X POST 'https://api.expiryedge.com/v1/revokeAllSessions' \
  -H "Authorization: Bearer $EXPIRYEDGE_API_KEY"
Antwort
{
  "message": "All sessions revoked successfully"
}

Revokes Firebase refresh tokens and invalidates every session JWT issued before now (including the one used for this call).

Rückgabe

200
Sessions revoked.
  • messagestringerforderlich

Fehler

400
The request is missing required fields or contains invalid values.
401
Missing, expired or invalid bearer token.
429
Too many requests for this endpoint from your IP. Wait Retry-After seconds.