Overview
POST/auth/revokeauth

Sign out (revoke refresh token)

Create a record in revoke.

Responses
204

revoked

No response body.

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