Overview
POST/auth/revoke-allauth

Revoke all sessions

Create a record in revoke-all.

Auth: bearerAuth — calls run as the authenticated user.

Responses
204

revoked

No response body.

Code examples
cURL
curl -X POST "https://api.agenticdeveloperhub.com/auth/revoke-all" \
  -H "Authorization: Bearer YOUR_TOKEN"
JavaScript
const res = await fetch("https://api.agenticdeveloperhub.com/auth/revoke-all", {
  method: "POST",
  headers: {
    "Authorization": "Bearer YOUR_TOKEN"
  },
});
const data = await res.json();