Sign out all sessions

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

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

Returns

200
Sessions revoked.
  • messagestringrequired

Errors

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.